Background for Fallout 4
Member of the Utility script
voidfunctionWaitGameTime(floatafHours)NativeGlobal

Description

Wiki Description

Pauses the script for at least the specified amount of game time. This function is latent.

Documentation Comment

Waits for the specified amount of game time (latent)


Caveats

CK Wiki - Notes

  • The total wait time may longer in certain cases where the game clock jumps ahead by a large amount (i.e. fast travel).
  • A wait time of 0 won't actually wait, and just return immediately

Parameters

floatafHours

CK Wiki Description

How long to wait, in game hours.


Examples

; Pause our currently running stack for 1 1/2 in-game hours
Utility.WaitGameTime(1.5)

Auto-Generated Example

float myFloat__afHours

Utility.WaitGameTime(myFloat__afHours)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.