DefineStartLocationLoc
- Parameters
whichStartLoc integerThe ID of the player for the starting location. See
GetPlayerStartLocation.whichLocation locationThe location of the start location.
- comment
Defines a player's start location at the specified location. The start location determines where the camera is initially positioned. For melee maps, it will also determine where the player's first town hall structure will be placed.
- note
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. Using it elsewhere will affect the returned values ofGetStartLocationXandGetStartLocationY, but will have no effect on the camera's initial position and the melee starting positions.- patch
1.00
- Source
- common.j (suggest an edit or discuss on Github)
- return type
nothing- Source code
native DefineStartLocationLoc takes integer whichStartLoc, location whichLocation returns nothing