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

From AgentCubes
Jump to navigation Jump to search
imported>Loon911
imported>Loon911
Line 19: Line 19:
 
|-
 
|-
 
| align="left" valign="top" width="80" | '''Example:'''  
 
| align="left" valign="top" width="80" | '''Example:'''  
| align="left" valign="top" width="100%" | [https://agentcubesonline.com/Ristretto3D/public/Ristretto3D.html?nid=1332630&mode=edit AgentCubes Move Random On A Example]
+
| align="left" valign="top" width="100%" | [https://agentcubesonline.com/Ristretto3D/public/Ristretto3D.html?nid=1332630&mode=edit AgentCubes move-random-on-a Example]
 
|}
 
|}
  
 
[[Category:AgentCubes_Actions]]
 
[[Category:AgentCubes_Actions]]

Revision as of 06:05, 17 June 2019

Move-random-on-a1.PNG

Move-random-on-a2.PNG

Definition: Move-Random Action: When conditions are satisfied, this action moves an agent randomly any number of cells away from the original location as specified by a number or formula in the Formula parameter.
Parameters: formula: number or VAT Formula
Additional Parameters:

animation: accelerated or constant speed

time: movement happens instantly (if time is 0) or the slider() option connects the animation time to the slider located above the world.

Example: AgentCubes move-random-on-a Example