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

Conditions

Definition: Conditions are used to test the circumstances agents are in. Among other things, agents can test for the presence of other agents in the worksheet, attribute values, keyboard input, mouse events and even content of live web pages.

Use the Tools | Conditions Palette menu option or click the Conditions tool in the Toolbar to access the Conditions Palette, which contains the following conditions:

See
See A
Stacked
Stacked A
Next To
Empty
Key
% Chance
Once Every
Hear
Test
Has Attribute
WWW Read
On Top Of
Direction
Yes or No Dialog

Power User Shortcuts

A condition can also be accessed and added to the agent's behavior by right-clicking in the part of the rule where conditions reside. This will show the following pop-up menu, from which you can select the Add Condition menu option and then select the desired condition to add. The example below illustrates the addition of the Next To condition.


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