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

While Running Trigger

Definition: The While Running Trigger trigger is called once every simulation cycle while the simulation is running.
Parameters: none
Example: While the Vacuum Cleaner simulation is running, the Vacuum agent picks up dirt if it sees it in the cell below, otherwise it just moves randomly on the floor tile.

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