Move-Random-On Action

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

Move random on action.png

Move random on expanded.png

Definition: The Change 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: animation, time
Example: ???WHICH EXAMPLE??? 500px