Class: PlayerManager

PlayerManager()

new PlayerManager()

Source:

Methods

GetActivePlayers()

Returns IDs of all players excluding gaia that are not defeated nor have won.
Source:

GetAllPlayers()

Returns IDs of all players including gaia.
Source:

GetNonGaiaPlayers()

Returns IDs of all players excluding gaia.
Source:

GetNumPlayers()

Returns the number of players including gaia.
Source:

GetPlayerByID()

Returns the player entity ID for the given player ID. The player ID must be valid (else there will be an error message).
Source:

ReplacePlayer()

To avoid possible problems, we first remove all entities from this player, and add them back after the replacement. Note: This should only be called during setup/init and not during the game
Source: