Difference between revisions of "Change Action"

From AgentCubes
Jump to navigation Jump to search
imported>Corrina
imported>Mike
 
(4 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
{| cellpadding="10" cellspacing="0" border="0" width="100%"
 
{| cellpadding="10" cellspacing="0" border="0" width="100%"
 
|-
 
|-
| align="left" valign="top" width="80" | '''Definition:'''
+
| align="left" valign="top" width="80" | '''Definition:'''  
| align="left" valign="top" width="100%" | The '''Change''' action: ''changes a specified agent to the depiction specified. ''
+
| align="left" valign="top" width="100%" | The '''Change''' action: ''changes a specified agent to the shape specified. ''
 
|-
 
|-
| align="left" valign="top" width="80" | '''Parameters:'''
+
| align="left" valign="top" width="80" | '''Parameters:'''  
| align="left" valign="top" width="100%" | [[Shape parameter|shape]]: 
+
| align="left" valign="top" width="100%" |  
 +
[[Direction parameter|Direction]]: ''specifies which agent (self or adjacent) to change.''
 +
 
 +
[[Attribute name parameter|Changeto]]: ''specifies how to change the target agent.''
 +
 
 +
<br>
 +
 
 
|-
 
|-
| align="left" valign="top" width="80" | '''Additional Parameters:'''
+
| align="left" valign="top" width="80" | '''Additional Parameters:'''  
| 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.
+
| align="left" valign="top" width="100%" |  
 
|-
 
|-
 
| align="left" valign="top" width="80" | '''Example:'''
 
| align="left" valign="top" width="80" | '''Example:'''
 +
 
| align="left" valign="top" width="100%" | &nbsp;[[Image:Change action example.png|500px]]
 
| align="left" valign="top" width="100%" | &nbsp;[[Image:Change action example.png|500px]]
 
|}
 
|}
  
 
[[Category:AgentCubes_Actions]]
 
[[Category:AgentCubes_Actions]]

Latest revision as of 00:19, 21 April 2012

Change action.png

Definition: The Change action: changes a specified agent to the shape specified. 
Parameters:

Direction: specifies which agent (self or adjacent) to change.

Changeto: specifies how to change the target agent.


Additional Parameters:
Example:  500px