On Top Of Condition


The On Top Of condition checks whether the agent is on top of a specified type of agent with output connectivity in the specified direction.

If the agent below has output connectivity in the direction indicated by the Direction parameter, the condition is true. Otherwise, the condition is false.


class, direction


In the Sustainopolis project, the Auto agent checks to see if it is on top of a piece of road whose output is right. If it is, the Auto agent moves right.

See the Sustainopolis simulation.

| Next | Previous | Reference Manual | Getting Started Manual |