LuaAPI: special CursorX, CursorY values
authorWuzzy
Mon, 28 Mar 2016 20:50:02 +0100
changeset 819 80d8736efefa
parent 818 a80f855475b5
child 820 cf7f4be0c083
LuaAPI: special CursorX, CursorY values
LuaAPI.wiki
--- a/LuaAPI.wiki	Mon Mar 28 20:46:20 2016 +0100
+++ b/LuaAPI.wiki	Mon Mar 28 20:50:02 2016 +0100
@@ -79,8 +79,8 @@
 || `LeftX` || X coordinate of the leftmost point of the landsacpe ||
 || `RightX` || X coordinate of the rightmost point of the landsacpe ||
 || `TopY` || Y coordinate of the topmost point of the landsacpe ||
-|| `CursorX` || The X position of the cursor (only used when the player is currently about to choose a target) ||
-|| `CursorY` || The Y position of the cursor (only used when the player is currently about to choose a target) ||
+|| `CursorX` || The X position of the cursor if the player is choosing a target. Otherwise, this is `-2147483648` ||
+|| `CursorY` || The Y position of the cursor if the player is choosing a target. Otherwise, this is `-2147483648` ||
 || `WaterLine` || The y position of the water, used to determine at which position stuff drowns. Use `SetWaterLine` to change. ||
 || `ClansCount` || Number of clans in the game (teams with the same color belong to one clan) ||
 || `TeamsCount` || Number of teams in the game ||