LuaAPI.wiki
changeset 819 80d8736efefa
parent 818 a80f855475b5
child 820 cf7f4be0c083
equal deleted inserted replaced
818:a80f855475b5 819:80d8736efefa
    77 || `LAND_WIDTH` || The width of the landscape in pixels ||
    77 || `LAND_WIDTH` || The width of the landscape in pixels ||
    78 || `LAND_HEIGHT` || The height of the landscape in pixels ||
    78 || `LAND_HEIGHT` || The height of the landscape in pixels ||
    79 || `LeftX` || X coordinate of the leftmost point of the landsacpe ||
    79 || `LeftX` || X coordinate of the leftmost point of the landsacpe ||
    80 || `RightX` || X coordinate of the rightmost point of the landsacpe ||
    80 || `RightX` || X coordinate of the rightmost point of the landsacpe ||
    81 || `TopY` || Y coordinate of the topmost point of the landsacpe ||
    81 || `TopY` || Y coordinate of the topmost point of the landsacpe ||
    82 || `CursorX` || The X position of the cursor (only used when the player is currently about to choose a target) ||
    82 || `CursorX` || The X position of the cursor if the player is choosing a target. Otherwise, this is `-2147483648` ||
    83 || `CursorY` || The Y position of the cursor (only used when the player is currently about to choose a target) ||
    83 || `CursorY` || The Y position of the cursor if the player is choosing a target. Otherwise, this is `-2147483648` ||
    84 || `WaterLine` || The y position of the water, used to determine at which position stuff drowns. Use `SetWaterLine` to change. ||
    84 || `WaterLine` || The y position of the water, used to determine at which position stuff drowns. Use `SetWaterLine` to change. ||
    85 || `ClansCount` || Number of clans in the game (teams with the same color belong to one clan) ||
    85 || `ClansCount` || Number of clans in the game (teams with the same color belong to one clan) ||
    86 || `TeamsCount` || Number of teams in the game ||
    86 || `TeamsCount` || Number of teams in the game ||
    87 || `TurnTimeLeft` || Number of game ticks (milliseconds) left until the current turn ends. You can change this variable directly. ||
    87 || `TurnTimeLeft` || Number of game ticks (milliseconds) left until the current turn ends. You can change this variable directly. ||
    88 || `GameTime` || Number of total game ticks ||
    88 || `GameTime` || Number of total game ticks ||