Wait (Procedure)

Revision as of 11:22, 9 November 2011 by imported>Henning (moved Procedure Wait to Wait (Procedure))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 time. If paired with another procedure in a Simumltaneous Branch, it will complete that branch after the specified amount of time.

The procedure completes:
After the specified time elapses.

Parameters

  • ActualSeconds (Float): How long the procedure waits until it's done. A time of zero causes the wait procedure to go on forever.
  • 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

  • Does this procedure have a defined ending?
    • Yes, when the wait time counts down to zero.
  • When does the wait time count down?
    • It should only count down during actual gameplay. Not in menus.
  • What does ActualSeconds mean?
    • It means that the function will wait for actual, real seconds. Not game seconds.
  • How does the StopMovement flag interact with other procedures when done in a simultaneous branch?

See Also

{{{SeeAlso}}}