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.

See the Voting Game simulation.

| Next | Previous | Reference Manual | Getting Started Manual |