Mod:Creation Kit/UnregisterForAllEvents - ScriptObject

Member of: ScriptObject

Unregisters this script from all 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 UnregisterForAllEvents native

Parameters
None

Return Value
None

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