— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
This is an old revision of the document!
Waits for the specified number of seconds before proceeding to next statement in the script being executed.
wait(duration)
Argument | Description | Type | Required |
---|---|---|---|
duration | Duration of time to wait (in seconds). | Decimal | Yes |
wait(2)
Results: The script will wait for 2 seconds before proceeding to the next event within that script.
Use the Wait function for a dramatic pause between two events of a cutscene or to allow time for a particular animation to complete.