Player (scripting)
Jump to navigation
Jump to search
You'll likely refer to these players later in the script by number, where 0 is the first player defined, 1 is the next, and so on. Arguments
Example<Player Name="You" Faction="PHC" AIType="Player" Team="1" Color="7" /> <Player Name="Mac" Faction="PHC" AIType="On" Team="1" Color="1" /> <Player Name="Haalee" Faction="SS" AIType="On" Team="2" Color="2" /> <Player Name="Splinter" Faction="PHC" AIType="Off" Team="3" Color="4" NoSeed="1" NoEngineer="1" /> In this example, the player is index 0, Mac 1, Haalee 2, and Splinter 3. The player and Mac are on a team together, while Haalee and the Splinter are each on their own teams. The Splinter has its AI turned off, either to create passive guardians or script-controlled incoming waves, or some such thing where you don't want an AI messing with your scenario. |