Move-Random-On Action

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

Move random on action.png

Move random on expanded.png

Definition: The Move-Random-On Action: When conditions are satisfied, this action moves the subject agent randomly onto agents of type specified that are immediately adjacent. If there are no such specified agents immediately adjacent (that is, in the 8 adjacent places), nothing happens. If there is one specified agent, the subject agents moves onto it. If there is more than one specified agent, the subject agent randomly selects one specified agent and moves onto it.
Parameters: Target Agent
Additional Parameters: animation, time: the move-random-on 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.
???WHICH EXAMPLE??? 500px