====== Player Color ====== Player colors can be set using the SetPlayerColor function from TethysGame. Seven different colors are available and can be referenced through the PlayerColor enum. // Color of structures and units belonging to a given player enum PlayerColor { PlayerBlue = 0, //Standard Eden color PlayerRed, //Standard Plymouth color PlayerGreen, PlayerYellow, PlayerCyan, PlayerMagenta, PlayerBlack //Not selectable as a player color from the multiplayer game initialization screen }; Black is not typically used. For single player scenarios, Eden is typically blue and Plymouth is typically red. When Outpost 2 auto-sets an AI color in a multiplayer game, AIs take the first color that isn't taken by a human player in this order: blue, red, green, yellow, cyan, magenta, black. ---- - //Go Back to [[op2_sdk:programming_scenario_dlls|Programming a Scenario]]//\\ - //Go Back to [[op2_sdk:software_development_kit_sdk|Outpost 2 Software Development Kit]]//\\ - //Go Back to [[outpost_2:outpost_2|Outpost 2 Main page]]//\\ - //Go Back to [[http://wiki.outpost2.net/doku.php?id=start|Wiki Home Page]]//