Mod API Reference:PlayerID: Difference between revisions

From Warzone Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


Also, note that the following constants are also available:
Also, note that the following constants are also available:
* PlayerID.Neutral: Represents the neutral player.
* WL.PlayerID.Neutral: Represents the neutral player.
* PlayerID.Fog: Set in a client function when the client does not know the player that owns this item.
* WL.PlayerID.Fog: Set in a client function when the client does not know the player that owns this item.
* PlayerID.AvailableForDistribution: Set during manual territory distribution to indicate that this territory is available for picking.
* WL.PlayerID.AvailableForDistribution: Set during manual territory distribution to indicate that this territory is available for picking.

Revision as of 20:14, 11 April 2017

Alias for an integer that represents the ID of a player.

Also, note that the following constants are also available:

  • WL.PlayerID.Neutral: Represents the neutral player.
  • WL.PlayerID.Fog: Set in a client function when the client does not know the player that owns this item.
  • WL.PlayerID.AvailableForDistribution: Set during manual territory distribution to indicate that this territory is available for picking.