SimpleHookEvent

From OpenKore Wiki
Revision as of 15:06, 4 July 2019 by Nipodemos (talk | contribs) (Add EventMacro event condition: SimpleHookEvent)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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