Mod:Creation Kit/Wait - Utility

Member of: Mod:Creation Kit/Utility Script

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.

Syntax
Function Wait(float afSeconds) native global

Parameters

 * afSeconds: How long to wait, in real-time seconds.

Return Value
None

Examples
Utility.Wait(5)
 * Pause our currently running stack for 5 seconds - and do not count the time spent in a menu