User Tools

Site Tools


wait

Differences

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

Link to this comparison view

Next revision
Previous revision
wait [2017/05/14 15:31] – external edit 127.0.0.1wait [2021/04/21 18:54] (current) justin
Line 2: Line 2:
 ---- ----
  
-Waits for the specified number of seconds before proceeding.+Waits for the specified number of seconds before proceeding to next statement in the [[script]] being executed.
  
 +====Signature:====
 <code python> <code python>
-wait(2)+wait(duration)
 </code> </code>
  
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
-|2|Description.|[[String]]|Yes|+|duration|Duration of time to wait (in seconds).|[[Number]]|Yes|
  
 ====Example:==== ====Example:====
-<code python+<code bauxite
-wait(2)+wait(2);
 </code> </code>
-//Results://+//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 to ...+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.1494801073.txt.gz · Last modified: 2017/05/14 15:31 by 127.0.0.1