Difference between revisions of "Wait (Procedure)"
Jump to navigation
Jump to search
imported>Catwheezle (Some of the notes seemed obvious from context - no need to repeat.) |
m (Correct small typo) |
||
Line 1: | Line 1: | ||
{{Procedures | {{Procedures | ||
|Name=Wait | |Name=Wait | ||
|Description=If not paired with another procedure in a Simultaneous Branch, the '''Wait''' Procedure allows an actor to stop doing things for a defined period of real-world time. If paired with another procedure in a [[:Category:Package_Templates#Branches| | |Description=If not paired with another procedure in a Simultaneous Branch, the '''Wait''' Procedure allows an actor to stop doing things for a defined period of real-world time. If paired with another procedure in a [[:Category:Package_Templates#Branches|Simultaneous Branch]], it will complete that branch after the specified amount of time. Time in menu mode is not counted. | ||
|Completes=After the specified time elapses (the wait time counts down to zero). | |Completes=After the specified time elapses (the wait time counts down to zero). | ||
Latest revision as of 20:28, 2 October 2023
Behavior
Description:
If not paired with another procedure in a Simultaneous Branch, the Wait Procedure allows an actor to stop doing things for a defined period of real-world time. If paired with another procedure in a Simultaneous Branch, it will complete that branch after the specified amount of time. Time in menu mode is not counted.
The procedure completes:
After the specified time elapses (the wait time counts down to zero).
Parameters
- ActualSeconds (Float): How many real-world secnds the procedure will wait until completing, not counting time in menus. A time of zero causes the wait procedure to never complete.
- StopMovement (Bool): If this is true, it makes the actor stop moving -- which is to say, it stops the actor's pathfinding/locomotion. (It does not stop any other incidental animations.)
Notes
- Interaction of the StopMovement flag with other procedures in a simultaneous branch is undocumented - please use with care and document the results of your tests on this page.
- There are a wide range of other ways for Actors and scripts to wait, many of which are listed under Wait - Utility.
See Also