The ID of the player for the starting location. See
The x-coordinate of the start location.
The y-coordinate of the start location.
Defines a player's start location at the specified coordinates. 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.
It is only recommended to use this in the
configfunction in the war3map.j. Using it elsewhere will affect the returned values of
GetStartLocationY, but will have no effect on the camera's initial position and the melee starting positions.
- return type
- Source code
native DefineStartLocation takes integer whichStartLoc, real x, real y returns nothing