IsInMapAndCoordinate: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Template:IsInMapAndCoordinate}} Category:EventMacro_Automacros Category:EventMacro_Conditions_State") |
m (4epT moved page isInMapAndCoordinate to IsInMapAndCoordinate over a redirect without leaving a redirect) |
(One intermediate revision by one other user not shown) | |
(No difference)
|
Latest revision as of 21:46, 12 September 2021
- IsInMapAndCoordinate
-
- Description: Checks if the current map and/or coordinates match one of the given maps.
- Syntax:
IsInMapAndCoordinate <comma separated list of pairs of x and y coordinates and/or maps>
- It also accepts ranges in place of coordinates. (like 100..200 for x and 50..100 for y)
- You can use map, coordinates or map with coordinates
- Example:
IsInMapAndCoordinate 100 150 IsInMapAndCoordinate prontera IsInMapAndCoordinate prontra, geffen, gef_fild10 IsInMapAndCoordinate 120 100, 115 289, 158 236 IsInMapAndCoordinate prontera, 100 200, gef_fild10 100..150 250 IsInMapAndCoordinate gef_fild10 20..80 200, payon 50 60
- Set variables:
$.IsInMapAndCoordinateLast => Saves the last coordinate that made IsInMapAndCoordinate become true $.IsInMapAndCoordinateLastMemberIndex => Saves the list index in condition that made IsInMapAndCoordinate become true