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

Once Every Condition

Definition: The Once Every condition checks if N seconds have passed since it was last checked. N is specified by a number or a Visual AgenTalk Formula.

If N seconds have passed, the condition is true. Otherwise, it is false.

The Once Every condition acts as a local timer for an agent. Unlike the Wait action, Once Every can be used to slow down individual agents without stopping other agents.

Parameters: formula
Example: In the Voting Game project, the Counter agent polls the voters once every second.

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