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

[DEV SERVER] Loading description...


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

; Register for when the player goes to sleep and wakes up
RegisterForSleep()

Auto-Generated Example

myForm__toCallFunctionOn.RegisterForSleep()

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.