Sleep (Procedure)

From the CreationKit Wiki
Jump to navigation Jump to search

Behavior

Description:
Walk to a bed and sleep there.

The procedure completes:
Never completes.

Parameters

  • Target (Target): Specifies where to sleep

                                     

Notes

  • When this procedure is used on the player, it will act as though the Player is an NPC (This goes for all Procedures as they are considered NPC activations and not Player activations) therefore no sleep UI is shown and instead the player will get onto the bed and play the sleeping animation. Activating the bed while on it(Even while in PlayerAIDriven mode) will instead of showing the sleep UI, cause the player to get up and off the bed.
  • Currently there appears to be a bug when a sleep animation plays on the player their eyes become fused shut (Even after leaving the animation). Saving and Reloading seems to fix this issue also using the ShowRaceMenu console command seems to fix it too.(See Talk:QueueNiNodeUpdate - Actor, for a scripted solution to this issue.)
  • There appears to be no documented way otherwise of causing the PC to sleep or wait, or of causing those dialogs to be presented to the player.

See Also