Lore archive · Warcraft Wiki, 2023 dump
API ScriptRegion HookScript
Last wiki revision 2023-08-21
Securely post-hooks a widget script handler. success = ScriptRegion:HookScript(scriptTypeName, script [, bindingType])
- scriptTypeName: - Name of the script type, for example "OnShow".
- script: - The function that will be called.
- bindingType: - The intrinsic frame precall/postcall handler.
- success: - True if the script was successfully hooked.
- If the script type doesn't have an existing handler, this will be equivalent to.
- Any hooks applied will remain in place until the UI is reloaded. But the original script can still be removed with.
Prints when you open the character frame.
Prints when ChatFrame1 is shown by e.g. switching between chat tabs.
Source
https://warcraft.wiki.gg/wiki/API_ScriptRegion_HookScript · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.