Stacked Condition

From AgentCubes
Revision as of 01:13, 21 April 2012 by imported>Corrina
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Stacked.png

Definition: The Stacked condition: checks if the agent's location in relation to the agent specified by the exact shapematches the adjacency choice.
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: where to look for the target agent

shape: the exact depiction of agent to look for

Example: