Runs during the initialization of an agent. This hook generalizes to [primitive]Init
, e.g. the initialization of an agent with primitive 'bank'
would be hooked with bankInit
. To hook the death of agents of all primitives, use baseAgentInit
.
Required Parameters
agent — Agent
The agent being initialized.
model — Helipad
The model object.
Notes and Examples