Category: Player
Since engine version: 4.9.6.0 CR
Bit | Constant | Description |
---|---|---|
0 | CSPF_FixedAttributes | If set, the player is guaranteed to join with the name and color specified in the parameters. Otherwise those preferences might be ignored in case of conflicts with other players' preferences. |
1 | CSPF_NoScenarioInit | If true, the scenario initialization (i.e. placement of home base material, clonks, setting of build knowledge, etc.) is not performed for this player. Also, the global callbacks PreInitializePlayer and InitializePlayer to the scenario script and to goal, rule, and environment objects are not performed. Instead, the callback InitializeScriptPlayer(Player number, Team) is made to the object definition specified in idExtraData. The call is made as DefinitionCall (without this() object). Using this parameter you can create script-controlled AI players which do not receive the same standard treatment as user-controlled players. |
2 | CSPF_NoEliminationCheck | If set, the player will not be eliminated automatically if its crew is empty. |
3 | CSPF_Invisible | If set, the player will not show up in player lists such as in the lobby or hostility menu. |