• 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.

    Parameters

    • whichStartLoc: number

      The ID of the player for the starting location. See GetPlayerStartLocation.

    • x: number

      The x-coordinate of the start location.

    • y: number

      The y-coordinate of the start location.

    Returns void

    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. Using it elsewhere will affect the returned values of GetStartLocationX and GetStartLocationY, but will have no effect on the camera's initial position and the melee starting positions.

Generated using TypeDoc