Difference between revisions of "Once-every Condition"

From AgentCubes
Jump to navigation Jump to search
imported>Andri
imported>Mike
Line 1: Line 1:
[[image:Stacked condition.png|150px]]
+
[[image:Once every.png|150px]]
  
 
<table cellpadding="10" cellspacing="0" border="0" width="100%">
 
<table cellpadding="10" cellspacing="0" border="0" width="100%">

Revision as of 22:04, 17 April 2012

Once every.png

Definition: The Once-every condition checks if a certain number of seconds N has passed since it was last checked. The number is specified by an integer, decimal, 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: ???which example??? 500px