MobNear: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
(Created page with "{{Template:MobNear}} Category:EventMacro_Automacros Category:EventMacro_Conditions_State")
 
m (4epT moved page mobNear to MobNear over a redirect without leaving a redirect)
 
(One intermediate revision by one other user not shown)
(No difference)

Latest revision as of 21:48, 12 September 2021

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