Mod:Creation Kit/UnregisterForAllMenuOpenCloseEvents - ScriptObject

Member of: ScriptObject

Unregisters this script from all OnMenuOpenCloseEvent events.

Only the script that unregisters for an event will stop receiving it. Other scripts attached to the same form, alias, or magic effect will still receive the event if they registered for it separately.

Syntax
Function UnregisterForAllMenuOpenCloseEvents Native

Parameters
None

Return Value
None

Examples
UnregisterForAllMenuOpenCloseEvents
 * We no longer care about any menu open/close events