Difference between revisions of "Change Action"

From AgentCubes
Jump to navigation Jump to search
imported>Andri
imported>Andri
Line 1: Line 1:
 
[[image:Change action.png|200px]]
 
[[image:Change action.png|200px]]
 
[[image:Change action additional params.png|200px]]
 
  
 
<table cellpadding="10" cellspacing="0" border="0" width="100%">
 
<table cellpadding="10" cellspacing="0" border="0" width="100%">

Revision as of 23:29, 17 June 2011

Change action.png

Definition: The Move-Random-On action lets an agent move randomly onto any of its immediate neighbors that have a shape displayed in the Shape parameter. The agent chooses one of its nine qualifying neighbors (the eight around it and the current location) to move onto at random.
Parameters: shape
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.
Example: ???WHICH EXAMPLE??? 500px