Template:MobNearDist
Revision as of 21:03, 4 July 2019 by 4epT (talk | contribs) (Created page with " <noinclude>This template describes the '''MobNearDist''' state Conditions of the automacro eventMacros.</noinclude> ;MobNearDist :* Description: Checks i...")
This template describes the MobNearDist state Conditions of the automacro eventMacros.
- MobNearDist
-
- Description: Checks if there is a mob in a given distance which name matches the given regex.
- Syntax:
MobNearDist <Regex> <Math condition operators>
- Example:
MobNearDist /(Poporing|Drops|Poring|Marin)/ < 3
- Set variables:
$.MobNearDistLast => Saves the name of the last mob that made MobNearDist become true $.MobNearDistLastPos => Saves the position of the last mob that made MobNearDist become true $.MobNearDistLastBinId => Saves the openkore ID of the last mob that made MobNearDist become true $.MobNearDistLastDist => Saves the distance of the last mob that made MobNearDist become true