This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wait [2018/03/16 09:50] – justin | wait [2021/04/21 18:54] (current) – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | Waits for the specified number of seconds before proceeding to next statement in the script being executed. | + | Waits for the specified number of seconds before proceeding to next statement in the [[script]] being executed. |
====Signature: | ====Signature: | ||
Line 10: | Line 10: | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | |duration|Duration of time to wait (in seconds).|[[Decimal]]|Yes| | + | |duration|Duration of time to wait (in seconds).|[[Number]]|Yes| |
====Example: | ====Example: | ||
- | < | + | < |
- | wait(2) | + | wait(2); |
</ | </ | ||
- | // | + | // |
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Use the **Wait** function for dramatic pauses between events of a cutscene or to allow time for a particular animation to complete. | + | Use the **Wait** function for dramatic pauses between events of a cutscene or to allow time for a particular |
</ | </ | ||