New Action

From AgentSheetsWiki

Revision as of 14:28, 20 April 2012 by Corrina (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

New action.png

New action additional params.png

Definition: The New action: generates a new agent in the cell indicated with the shape selected.

direction: specifies where to create a new agent.

shape: specifies the type of new agent.

Additional Parameters: layer: specifies on which layer to put the new agent.
Example: In the Frogger game, the Tunnel agent generates new Trucks to its right, once every 0.6 seconds, with a 25% chance, as long as there is road where it is supposed to create the new car (to avoid piling cars on top of each other). New action example.png
Personal tools