Difference between revisions of "Stacked Condition"
Jump to navigation
Jump to search
imported>Andri |
imported>Andri |
||
Line 1: | Line 1: | ||
− | [[image: | + | [[image:Stacked condition.png|150px]] |
− | |||
<table cellpadding="10" cellspacing="0" border="0" width="100%"> | <table cellpadding="10" cellspacing="0" border="0" width="100%"> | ||
<tr> | <tr> | ||
<td align="left" valign="top" width="80"><b>Definition:</b></td> | <td align="left" valign="top" width="80"><b>Definition:</b></td> | ||
− | <td align="left" valign="top" width="100%">The <strong> | + | <td align="left" valign="top" width="100%">The <strong>Stacked</strong> condition checks if the agent's location in relation to the agent specified by the [[Shape parameter|shape]] matches the adjacency choice; that is, the condition checks whether the agent is ''immediately above'', ''somewhere above'', ''immediately below'', ''somewhere below'', or ''above or below'' the agent that is specified by the shape. If the agent is adjacent to the chosen shape as specified with the adjacency parameter, the condition is true. Otherwise, the condition is false.<BR> |
+ | The difference between the Stacked and the Stacked-A conditions is that the Stacked condition checks for a specific shape/look and is true only if the agent has that exact depiction, whereas Stacked-A checks for any depiction of the given agent and is true regardless of how the agent looks. | ||
+ | </td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td align="left" valign="top" width="80"><b>Parameters:</b></td> | <td align="left" valign="top" width="80"><b>Parameters:</b></td> | ||
− | <td align="left" valign="top" width="100%">[[ | + | <td align="left" valign="top" width="100%">[[Adjacency parameter|adjacency]], [[Shape parameter|shape]] </td> |
</tr> | </tr> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
<tr> | <tr> | ||
<td align="left" valign="top" width="80"><b>Example:</b></td> | <td align="left" valign="top" width="80"><b>Example:</b></td> | ||
− | <td align="left" valign="top" width="100%"> | + | <td align="left" valign="top" width="100%"> |
− | [[Image: | + | [[Image:Stacked condition example.png|500px]]</td> |
</tr> | </tr> | ||
Revision as of 18:23, 17 June 2011
Definition: | The Stacked condition checks if the agent's location in relation to the agent specified by the shape matches the adjacency choice; that is, the condition checks whether the agent is immediately above, somewhere above, immediately below, somewhere below, or above or below the agent that is specified by the shape. If the agent is adjacent to the chosen shape as specified with the adjacency parameter, the condition is true. Otherwise, the condition is false. The difference between the Stacked and the Stacked-A conditions is that the Stacked condition checks for a specific shape/look and is true only if the agent has that exact depiction, whereas Stacked-A checks for any depiction of the given agent and is true regardless of how the agent looks. |
Parameters: | adjacency, shape |
Example: | 500px |