ShowSleepWaitMenu
From GECK
A function included in the GECK for Fallout 3.
Contents
Description
Displays the wait/sleep menu. Has two parameters, the second is optional. The first parameter specifies a wait or a sleep menu, 0 = Wait Menu, 1 = Sleep Menu. The second parameter specifies whether sleep wait preconditions should be checked - default is false.
Syntax
ShowSleepWaitMenu isSleep:int shouldCheckPreconditions:int
Example
Display the sleep menu:
ShowSleepWaitMenu 1 1
Notes
- If the shouldCheckPreconditions arg is set to 1, the isSleep arg is ignored and it will always open the Sleep menu (if the preconditions pass).
- This is fixed in ShowOff version 1.80.
See Also
- MenuMode
- Con_CloseAllMenus
- TapControl
- SHowManyWait, sSleep and sWait gamesettings affect the text shown by this function.
- GetPCSleepHours / SetPCSleepHours
- IsTimePassing