Move-Random Action

From AgentCubes
Revision as of 22:24, 18 April 2012 by imported>Corrina
Jump to navigation Jump to search

Move random action.png

Move random expand.png

Definition: The Move-Random When all 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
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