Playercolor

Handle Wrappers View source
Playercolor

Source on GitHub

Extension Functions

player.setColor

public function player.setColor(playercolor color)

player.getColor

public function player.getColor() returns playercolor

int.toPlayerColor

public function int.toPlayerColor() returns playercolor

playercolor.toInt

public function playercolor.toInt() returns int

playercolor.getPlayer

public function playercolor.getPlayer() returns player

Returns the player that had this color at the start of the game. Does not respect SetPlayerColor.

playercolor.getPlayers

public function playercolor.getPlayers() returns force

Returns the players who are currently using this player color. Respects calls to SetPlayerColor

Constants

PLAYER_COLOR_BLACK_AGGRESSIVE

public constant PLAYER_COLOR_BLACK_AGGRESSIVE = ConvertPlayerColor(24)

PLAYER_COLOR_UNKNOWN1

public constant PLAYER_COLOR_UNKNOWN1 = ConvertPlayerColor(25)

PLAYER_COLOR_UNKNOWN2

public constant PLAYER_COLOR_UNKNOWN2 = ConvertPlayerColor(26)

PLAYER_COLOR_BLACK_PASSIVE

public constant PLAYER_COLOR_BLACK_PASSIVE = ConvertPlayerColor(27)