Navigation Bar AgentSheets Education R&D Support About Us Manuals Tutorial Movies FAQ Books Classes

When Creating New Agent Trigger

Definition: The When Creating New Agent trigger executes the enclosed rules whenever a new agent is created in a worksheet. These rules are executed regardless of whether the worksheet in which the new agent is created is running or not.

The When Creating New Agent trigger is usually used to initialize the agent's state.

Parameters: none
Example: In the Ultimate Pacman simulation, when a new Pacman agent is created, it initializes its p value to 1000.

Ultimate Pacman

reference manual | ©2010 AgentSheets, Inc. | contact us