MobNearDist: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
(Created page with "{{Template:MobNearDist}} Category:EventMacro_Automacros Category:EventMacro_Conditions_State")
 
m (Conversion script moved page MobNearDist to mobNearDist: Converting page titles to lowercase)
(No difference)

Revision as of 22:35, 26 April 2021

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