Navigation Bar AgentSheets Education R&D Support About Us Manuals Tutorial Movies FAQ Books Classes

Wait Action

Definition: The Wait action causes the AgentSheets scheduler to wait the amount of seconds indicated by a number or a Visual AgenTalk Formula before executing its next command. Use it to slow down simulations.

Note: The Wait action halts the entire simulation. Another alternative is to use the Once Every condition to selectively slow down portions of a simulation.

Parameters: formula
Example: The Frog agent in the Frogger game has some delays when getting squished by the car/truck so that the animation with the dead frog depiction is visible before the Frog gets erased.


reference manual | ©2010 AgentSheets, Inc. | contact us