User Tools

Site Tools


wait

Wait


Waits for the specified number of seconds before proceeding to next statement in the script being executed.

Signature:

wait(duration)
ArgumentDescriptionTypeRequired
durationDuration of time to wait (in seconds).NumberYes

Example:

wait(2);

Results: The script will wait for 2 seconds before proceeding to the next event within that script.

Use the Wait function for dramatic pauses between events of a cutscene or to allow time for a particular animation to complete.


Editor Node:

Visual Demo:

wait.txt · Last modified: 2021/04/21 18:54 by justin