Difference between revisions of "Template:SimpleHookEvent"

From OpenKore Wiki
Jump to: navigation, search
(Created page with " <noinclude>This template describes the '''SimpleHookEvent''' Event Conditions of the automacro eventMacros.</noinclude> ;SimpleHookEvent :* Description:...")
 
(No difference)

Latest revision as of 06:10, 5 July 2019

This template describes the SimpleHookEvent Event Conditions of the automacro eventMacros.
SimpleHookEvent
  • Description: Is checked every time the hook you set, is triggered.
Syntax:
SimpleHookEvent <hook name>
Example:
SimpleHookEvent target_died
Set all variables the hook have as:
$.SimpleHookEventLast<capitalized variable name>
Example:
$.SimpleHookEventLastMonster => monster ID in target_died hook