Mod:Creation Kit/OnMenuOpenCloseEvent - ScriptObject

Member of: ScriptObject

Event called when menus are opened or closed - if this active magic effect/alias/form is registered for it.

This event will only be sent to the specific script that registered for it. Other scripts attached to the same form/alias/active magic effect will not receive the event unless they also register.

Parameters

 * asMenuName: Name of the menu opening / closing. E.g. "LockpickingMenu", "ContainerMenu", etc.
 * abOpening: True if the menu is opening, false if the menu is closing