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 playe 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
integer
Source code
native GetPlayerStartLocation takes player whichPlayer returns integer
Source
map-setup.j
wc3modding.com
GetPlayerStartLocation