LuaGlobals.wiki
changeset 1820 8dd93fe308aa
parent 1772 73305d96e954
child 1821 e514ad7c39a3
equal deleted inserted replaced
1819:529bf5849f75 1820:8dd93fe308aa
    20 || `LeftX` || X coordinate of the leftmost point of the landscape. Not available before `onGameStart` ||
    20 || `LeftX` || X coordinate of the leftmost point of the landscape. Not available before `onGameStart` ||
    21 || `RightX` || X coordinate of the rightmost point of the landscape. Not available before `onGameStart` ||
    21 || `RightX` || X coordinate of the rightmost point of the landscape. Not available before `onGameStart` ||
    22 || `TopY` || Y coordinate of the topmost point of the landscape. Not available before `onGameStart` ||
    22 || `TopY` || Y coordinate of the topmost point of the landscape. Not available before `onGameStart` ||
    23 || `CursorX` || The X position of the cursor if the player is choosing a target. Otherwise, this equals `NO_CURSOR` ||
    23 || `CursorX` || The X position of the cursor if the player is choosing a target. Otherwise, this equals `NO_CURSOR` ||
    24 || `CursorY` || The Y position of the cursor if the player is choosing a target. Otherwise, this equals `NO_CURSOR` ||
    24 || `CursorY` || The Y position of the cursor if the player is choosing a target. Otherwise, this equals `NO_CURSOR` ||
       
    25 || `NO_CURSOR` || Special value used by `CursorX` and `CursorY` when no cursor is displayed ||
    25 || `WaterLine` || The y position of the water, used to determine at which position stuff drowns. Use `SetWaterLine` to change. ||
    26 || `WaterLine` || The y position of the water, used to determine at which position stuff drowns. Use `SetWaterLine` to change. ||
    26 || `ClansCount` || Number of clans, including defeated ones (a clan is a group of teams with same color) ||
    27 || `ClansCount` || Number of clans, including defeated ones (a clan is a group of teams with same color) ||
    27 || `TeamsCount` || Number of teams, including defeated ones ||
    28 || `TeamsCount` || Number of teams, including defeated ones ||
    28 || `TurnTimeLeft` || Number of game ticks (milliseconds) left until the current turn ends. To set this value, use `SetTurnTimeLeft` ||
    29 || `TurnTimeLeft` || Number of game ticks (milliseconds) left until the current turn ends. To set this value, use `SetTurnTimeLeft` ||
    29 || `ReadyTimeLeft` || Remaining ready time in millseconds, 0 if turn in progress. To set this value, use `SetReadyTimeLeft` ||
    30 || `ReadyTimeLeft` || Remaining ready time in millseconds, 0 if turn in progress. To set this value, use `SetReadyTimeLeft` ||