The player of which to return the starting location.
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.
- return type
- Source code
native GetPlayerStartLocation takes player whichPlayer returns integer