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 revision Previous revision
Next revision
Previous revision
wait [2017/05/26 15:33]
justin
wait [2020/04/22 18:01]
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.txt ยท Last modified: 2020/04/22 18:01 by justin