Template:MobNear

From OpenKore Wiki
Revision as of 17:02, 4 July 2019 by 4epT (Talk | contribs) (Created page with " <noinclude>This template describes the '''MobNear''' state Conditions of the automacro eventMacros.</noinclude> ;MobNear :* Description: Checks if there...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This template describes the MobNear state Conditions of the automacro eventMacros.
MobNear
  • Description: Checks if there is a mob near which name matches the given regex.
Syntax:
MobNear <Regex>
Example:
MobNear /(edga|maya|ifrit|bad mvps)/i
MobNear /oring/
Set variables:
$.MobNearLast => Saves the name of the last mob that made MobNear become true
$.MobNearLastPos => Saves the position of the last mob that made MobNear become true
$.MobNearLastBinId => Saves the openkore ID of the last mob that made MobNear become true
$.MobNearLastDist => Saves the distance of the last mob that made MobNear become true