ScarDoc

Start typing to search the SCAR reference.

Function
Anvil

Anvil_GetRtsRaceFromMetamapRace

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

On this page
Anvil_GetRtsRaceFromMetamapRace(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

Parameters

  • racePBGScarRacePBGrequired

Returns

Unknown

Source

Declared in the game's script sources at:

scar/gamescarutil.scar