ForcePlayerStartLocation
- Parameters
-
whichPlayer player
startLocIndex integer
- comment
-
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. ).
- note
-
This function shall only be used within the scope of function
config
in war3map.j, it is executed by the game when you load the lobby/selected the map for preview. - patch
-
1.00
- Source
- common.j (suggest an edit or discuss on Github)
- return type
-
nothing
- Source code
-
native ForcePlayerStartLocation takes player whichPlayer, integer startLocIndex returns nothing