Move-Random-On Action

From AgentCubes
Revision as of 23:18, 17 June 2011 by imported>Andri
Jump to navigation Jump to search

Move random on action.png

Move random on action additional params.png

Definition: The Move-Random-On action

The Move Random On action lets an agent move randomly onto any of its immediate neighbors that show the Depiction displayed in the Depiction parameter. The agent chooses one of its qualifying neighbors to move onto at random.

.
Parameters: formula
Additional Parameters: animation, time: the move random action can animate the movement with accelerated or constant speed; and it can make the movement happen instantly (if time is 0) or it can take any amount of time to perform the animation. The slider() option in the time parameter connects the animation time to the slider located above the world, next to the other world controls. If checked, the Stay on Same Layer check box constraints the random movement in the current layer; otherwise, the random movement can take move the agent in any layer. If checked, the 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: ???WHICH EXAMPLE??? 500px