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

From AgentCubes
Jump to navigation Jump to search
imported>Corrina
imported>Corrina
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>Change</strong> 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.  
+
<td align="left" valign="top" width="100%">The <strong>Move-Random-On Action:</strong> 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.  
 
  </td>
 
  </td>
 
</tr>
 
</tr>

Revision as of 22:57, 18 April 2012

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