Mod:Creation Kit/UnregisterForAllCustomEvents - ScriptObject

Member of: ScriptObject

Unregisters this script from all custom events that it has registered for.

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 their events.

Syntax
Function UnregisterForAllCustomEvents native

Parameters
None

Return Value
None

Examples
UnregisterForAllCustomEvents
 * We no longer care about any custom events, so clean up