Difference between revisions of "Command:Wait"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
== Syntax == | == Syntax == | ||
{{CMD-DR|Wait|Intermediate|Intermediate|Beginner|Intermediate}} | {{CMD-DR|Wait|Intermediate|Intermediate|Beginner|Intermediate}} | ||
+ | Wait <tenths of seconds> [early continue condition] | ||
== Description == | == Description == | ||
+ | Pauses execution of this script for a specified amount of time, given in tenths of seconds (deciseconds). A condition may be supplied in order to continue execution early. The condition and end time will be checked once per frame. | ||
== Examples == | == Examples == | ||
+ | *Wait 10 | ||
+ | : Waits 1 second | ||
+ | *Wait 10 ${StopWaiting} | ||
+ | : Waits 1 second or until ${StopWaiting} is non-zero | ||
== See Also == | == See Also == | ||
*[[LavishScript:Commands|Commands]] | *[[LavishScript:Commands|Commands]] | ||
{{Command-Stub}} | {{Command-Stub}} |
Revision as of 01:04, 24 March 2005
Contents
Syntax
Wait | |
Usage | Intermediate |
Level of Understanding | Intermediate |
Computer Savvy | Beginner |
Logic | Intermediate |
Wait <tenths of seconds> [early continue condition]
Description
Pauses execution of this script for a specified amount of time, given in tenths of seconds (deciseconds). A condition may be supplied in order to continue execution early. The condition and end time will be checked once per frame.
Examples
- Wait 10
- Waits 1 second
- Wait 10 ${StopWaiting}
- Waits 1 second or until ${StopWaiting} is non-zero