Move-Random Action
Revision as of 06:56, 17 June 2019 by imported>Loon911
Definition: | Move-Random Action: When conditions are satisfied, this action moves an agent randomly any number of cells away from the original location as specified by a number or formula in the Formula parameter. |
Parameters: | formula: number or VAT Formula |
Additional Parameters: |
animation: accelerated or constant speed time: movement happens instantly (if time is 0) or the slider() option connects the animation time to the slider located above the world. Stay on Same Layer: check box constrains the random movement to the current layer; otherwise, layers may change. Only on Empty Cells: check box only moves the agent on empty spots in the world, not piling it on any other agents in the target location. |
Example: | AgentCubes move-random-on example
In this example the lady bug agent is using move-random-on action and can only move on the red tile. However, the beaver is using the move-random-on-a action which allows the agent to move on all of the tiles shapes. |