Cob Extensions - Players

Ext. ID Ext. Name Type Description
90 PLAYER_ACTIVE GET  
91 PLAYER_TYPE GET returns player type of player with given ID. Result: 1 - local human, 2 - local AI, 3 - remote player
92 PLAYER_SIDE GET  
93 PLAYER_KILLS GET  
94 PLAYER_ECONOMY GET Access player resources info. Result values are rounded.
Parameters: PlayerID, ResourceType:
1 - energy level
2 - metal level
3 - energy income
4 - metal income
5 - energy max storage
6 - metal max storage
95 UNIT_IN_PLAYER_LOS GET is unit given in parameter "visible" (in line of sight) for local player
Parameters: UnitId
96 POSITION_IN_PLAYER_LOS GET