Usage:
Object.SetOSId
number
Argument values:
argument 1: | range is 0 to 25; most commonly 2 |
Description: Set to the same value as the ObjectSpawnerId set in ControlPointTemplates.con, to associate an object spawn point with a particular control flag. See ControlPointTemplates.con for a full explanation of such IDs.
Used in a total of 148 .con files: Objectspawns.con, Objectspawnsallied.con, Objectspawnsaxis.con
Parent directory of these .con files: Bf1942/Levels
Example: (from Bf1942/Levels/Kursk/TDM/ObjectSpawns.con)
rem removed for precache: if v_arg1 == host
rem ----- Host
rem ----------------------------------------------------------------------------
rem*****************************************
rem **** AXIS BASE1 *****
rem ****************************************
Object.Create lighttankspawner
Object.Absoluteposition 450.345/78.6349/249.093
Object.Rotation 0/0.103998/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.