UnregisterForSleep - Form

From the CreationKit Wiki
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[edit | edit source]

Function UnregisterForSleep() native

Parameters[edit | edit source]

None

Return Value[edit | edit source]

None

Examples[edit | edit source]

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

Notes[edit | edit source]

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[edit | edit source]