WaitFrame (script event)

Game class

This event operates on an instance of the game class type idThread , accessible via sys identifier.

Description

Suspends execution of current thread for one game frame.

Usage

void waitFrame()

Parameters

This script event does not accept parameters.

Examples

 
sys.waitFrame();

Notes

See threads for more information.