Forces player to have the specified start loc and marks the start loc as occupied which removes it from consideration for subsequently placed players ( i.e. you can use this to put people in a fixed loc and then use random placement for any unplaced players etc. ).
This function shall only be used within the scope of function
configin war3map.j, it is executed by the game when you load the lobby/selected the map for preview.
- return type
- Source code
native ForcePlayerStartLocation takes player whichPlayer, integer startLocIndex returns nothing