Difference between revisions of "Has-attribute Condition"

From AgentCubes
Jump to navigation Jump to search
imported>Andri
(Created page with "Category:AgentCubes_Conditions")
 
imported>Andri
Line 1: Line 1:
 +
[[image:Has attribute condition.png|150px]]
 +
 +
<table cellpadding="10" cellspacing="0" border="0" width="100%">
 +
<tr>
 +
<td align="left" valign="top" width="80"><b>Definition:</b></td>
 +
<td align="left" valign="top" width="100%">The <strong>Has-attribute</strong> condition checks if the agent in the direction specified by the Direction parameter has the Attribute named in the condition's pop-up field. If the specified agent has selected Attribute, the condition is true. Otherwise, it is false.</td>
 +
</tr>
 +
<tr>
 +
<td align="left" valign="top" width="80"><b>Parameters:</b></td>
 +
<td align="left" valign="top" width="100%">[[Attribute name parameter|attribute name pop up]]</td>
 +
</tr>
 +
<tr>
 +
<td align="left" valign="top" width="80"><b>Example 1:</b></td>
 +
<td align="left" valign="top" width="100%">
 +
[[Image:Has attribute condition example.png|500px]]</td>
 +
</tr>
 +
 +
</table>
 +
 
[[Category:AgentCubes_Conditions]]
 
[[Category:AgentCubes_Conditions]]

Revision as of 20:42, 17 June 2011

150px

Definition: The Has-attribute condition checks if the agent in the direction specified by the Direction parameter has the Attribute named in the condition's pop-up field. If the specified agent has selected Attribute, the condition is true. Otherwise, it is false.
Parameters: attribute name pop up
Example 1: 500px