WaitGameTime - Utility

Member of: Utility Script

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

SyntaxEdit

Function WaitGameTime(float afHours) native global

ParametersEdit

  • afHours: How long to wait, in game hours.

Return ValueEdit

None

ExamplesEdit

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

NotesEdit

  • 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

See AlsoEdit