User Tools

Site Tools


wait

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wait [2017/05/26 15:33] justinwait [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:====
 <code python> <code python>
 wait(duration) wait(duration)
Line 9: 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:====
-<code python+<code bauxite
-wait(2)+wait(2);
 </code> </code>
-//Results:// The script will wait for 2 seconds before proceeding to the next event within that script.+//Results:// The [[script]] will wait for 2 seconds before proceeding to the next event within that [[script]].
  
 <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 [[animation]] to complete.
 </WRAP> </WRAP>
  
wait.1495838012.txt.gz · Last modified: 2017/05/26 15:33 by justin