DefineStartLocationLoc
- Parameters
-
whichStartLoc integer
The ID of the player for the starting location. See
GetPlayerStartLocation
.whichLocation location
The 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
It is only recommended to use this in the
config
function in the war3map.j. Using it elsewhere will affect the returned values ofGetStartLocationX
andGetStartLocationY
, but will have no effect on the camera's initial position and the melee starting positions.- return type
nothing
- Source code
native DefineStartLocationLoc takes integer whichStartLoc, location whichLocation returns nothing
- Source
- map-setup.j
- wc3modding.com
- DefineStartLocationLoc