Mod:Creation Kit/WaitMenuMode - 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 be counted while the player is in a menu.

Syntax
Function WaitMenuMode(float afSeconds) Native Global

Parameters

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

Return Value
None

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