GetPlayerStartLocation
- Parameters
-
whichPlayer player
The player of which to return the starting location.
- comment
Returns an integer representation of a player's start location. If the player has a start location on the map (regardless of whether that player slot is filled), it will return the player's ID (e.g. Player 1 (red) will return 0, Player 2 (blue) will return 1, and so forth). If the player does not have a start location on the map, it will return -1.
- patch
1.00
- Source
- common.j
- return type
integer
- Source code
native GetPlayerStartLocation takes player whichPlayer returns integer