GetPCHasSleepWaitOverride

From GECK
Jump to: navigation, search


A function added by the ShowOff NVSE Plugin.

Description

Returns 1 if the player has a flag preventing them from sleeping/waiting, 0 otherwise.

Syntax

[help]
(bool) GetPCHasSleepWaitOverride

Example

short bHasSleepWaitOverride
let bHasSleepWaitOverride := GetPCHasSleepWaitOverride

Notes

  • EnableFastTravel can modify this "canSleepWait" override flag.
  • GetCellFlag - cells have their own separate flag that prevents the player from sleeping/waiting while inside them.

See Also