Description
Wiki Description
Pauses the script for at least the specified amount of time. This function is latent. Time will not be counted while the player is in a menu.
Documentation Comment
Waits for the specified amount of time (latent). Timer will not run during menu mode
Caveats
CK Wiki - Notes
- Wait time isn't precise, based on framerate and general Papyrus system workload
- A wait time of 0 won't actually wait, and just return immediately
- The time will be affected by the global time modifier. So if, for example, VATS fires off and slows down time, it will affect these calls as well.
Parameters
floatafSeconds
CK Wiki Description
How long to wait, in real-time seconds.
Examples
; Pause our currently running stack for 5 seconds - and do not count the time spent in a menu
Utility.Wait(5)Auto-Generated Example
float myFloat__afSeconds
Utility.Wait(myFloat__afSeconds)Related Pages
- Utility
- Utility.WaitMenuMode(...)
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
