Usage:
Object.SetTeam
number
Argument values:
argument 1: | range is 0 to 2; most commonly 1 |
Description: Sets the team (1 = Axis, 2 = Allies) to which a object belongs. When not set this usually means that the base needs to be taken first before the spawn is even activated.
Used in a total of 142 .con files: Objectivespawners.con, Objectspawns.con, Objectspawnsallied.con, Objectspawnsaxis.con
Parent directory of these .con files: Bf1942/Levels
Example: (from Bf1942/Levels/GuadalCanal/TDM/ObjectSpawns.con)
rem removed for precache: if v_arg1 == host
rem ----- Host
rem ----------------------------------------------------------------------------
rem*****************************************
rem **** AXIS BASE1 *****
rem ****************************************
Object.Create ScoutCarSpawner
Object.Absoluteposition 2216.07/91.907/1298.94
Object.Rotation 0/0.336133/1.52588e-005
Object.SetOSId 1
Object.SetTeam 1
Go to the Object properties list page, Object page, All Properties list, or Main scripting page.