ScarDoc

Start typing to search the SCAR reference.

Function
MetaMap

MetaMap_GetRtsRace

Returns the name of the RTS version of the given race.

On this page
MetaMap_GetRtsRace(racePBG)

Description

If a player has a race like \"americans_campaign\" it will map to \"americans.\" The assumption is that races are named the same but have an appended \"_campaign\" to the end and no underscores elsewhere

Parameters

  • racePBGScarRacePBGrequired

Returns

Unknown

Source

Declared in the game's script sources at:

scar/metamap/metamap_library.scar