SetPCHasSleepWaitOverride

From GECK
Jump to: navigation, search


A function added by the ShowOff NVSE Plugin.

Description

If set to 1, sets a flag that prevents the player from sleeping/waiting. Setting it to 0 removes this flag.

Syntax

[help]
SetPCHasSleepWaitOverride bSetSleepWaitOverrideOn{0,1}

Example

SetPCHasSleepWaitOverride 1

Will prevent the player from sleeping/waiting.

Notes

  • EnableFastTravel modifies the same "canSleepWait" flag.
  • By default, the prevention message refers to not being able to wait in the cell.
  • This prevention message is controlled by the sNoWaitInCell gamesetting.
  • This flag is save-baked.

See Also