Runs when an agent transfers from one model to another in a multi-level model. This hook generalizes to [primitive]Transfer
, e.g. an agent of primitive 'worker'
could be hooked with workerTransfer
. To hook the moving of agents of all primitives, use baseAgentTransfer
.
Required Parameters
agent — Agent
The agent moving.
origin — Helipad
The model from which the agent originated.
dest — Helipad
The model to which the agent is moving.
Notes and Examples