Difference between revisions of "Move-Random-On Action"

From AgentCubes
Jump to navigation Jump to search
imported>Andri
imported>Andri
Line 6: Line 6:
 
<tr>
 
<tr>
 
<td align="left" valign="top" width="80"><b>Definition:</b></td>
 
<td align="left" valign="top" width="80"><b>Definition:</b></td>
<td align="left" valign="top" width="100%">The <strong>Move-Random-On</strong> action
+
<td align="left" valign="top" width="100%">The <strong>Move-Random-On</strong> 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.</td>
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.
 
 
 
.</td>
 
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td align="left" valign="top" width="80"><b>Parameters:</b></td>
 
<td align="left" valign="top" width="80"><b>Parameters:</b></td>
<td align="left" valign="top" width="100%">[[Formula parameter|formula]]</td>
+
<td align="left" valign="top" width="100%">[[Shape parameter|shape]]</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td align="left" valign="top" width="80"><b>Additional Parameters:</b></td>
 
<td align="left" valign="top" width="80"><b>Additional Parameters:</b></td>
<td align="left" valign="top" width="100%">[[Animation parameter|animation]], [[Animation time parameter|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.</td>
+
<td align="left" valign="top" width="100%">[[Animation parameter|animation]], [[Animation time parameter|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.</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>

Revision as of 23:23, 17 June 2011

Move random on action.png

Move random on action additional params.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