|
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.
|
|
|
| Next | Previous | Reference Manual | Getting Started Manual | |
||