Background for Skyrim SE
Member of the Form script
voidfunctionUnregisterForSleep()Native

Description

Wiki Description

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

Documentation Comment

Unregisters this form to receive events when the player sleeps and wakes up


Caveats

CK Wiki - Notes

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


Examples

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

Auto-Generated Example

myForm__toCallFunctionOn.UnregisterForSleep()

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.