UnregisterForSleep - Form

From the CreationKit Wiki
Revision as of 08:04, 12 September 2012 by imported>JLundin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: ActiveMagicEffect Script, Alias Script, and Form Script

Unregisters this active magic effect/alias/form from receiving sleep-related events.

Syntax

Function UnregisterForSleep() native

Parameters

None

Return Value

None

Examples

; Unregister for sleep events - we don't want them anymore
UnregisterForSleep()

Notes

Aliases and quests will automatically unregister for this event when the quest stops. Active magic effects will automatically unregister when they are removed.

See Also