Difference between revisions of "Hill-Climb Action"
Jump to navigation
Jump to search
imported>Loon911 |
imported>Loon911 |
||
Line 9: | Line 9: | ||
| align="left" valign="top" width="100%" | | | align="left" valign="top" width="100%" | | ||
[[Attribute name parameter|AttributeName]]: ''name of the attribute to set'' | [[Attribute name parameter|AttributeName]]: ''name of the attribute to set'' | ||
− | '''Option''': You may choose '''Four Directions''' which will set the AI to look at the [[Attribute name parameter|AttributeName]] | + | |
+ | '''Option''': ''You may choose '''Four Directions''' which will set the AI to look at the ''''[[Attribute name parameter|AttributeName]]'s property from'''' left, right, up to down. Or you can set the option to look at the ''''[[Attribute name parameter|AttributeName]]'s property ''''from all 8 directions which includes all diagonal directions''<br> | ||
+ | |||
|- | |- | ||
| align="left" valign="top" width="80" | '''Additional Parameters:''' | | align="left" valign="top" width="80" | '''Additional Parameters:''' | ||
Line 16: | Line 18: | ||
[[Animation time parameter|time]]: ''movement happens instantly (if time is 0) or the slider() option connects the animation time to the slider located above the world.'' | [[Animation time parameter|time]]: ''movement happens instantly (if time is 0) or the slider() option connects the animation time to the slider located above the world.'' | ||
+ | |||
|- | |- | ||
| 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=1332666&mode=edit AgentcubesOnline hill-climb example] | + | | align="left" valign="top" width="100%" | [https://agentcubesonline.com/Ristretto3D/public/Ristretto3D.html?nid=1332666&mode=edit AgentcubesOnline hill-climb example] |
− | This example shows how the action hill-climb makes the bug move to the target. | + | This example shows how the action hill-climb makes the bug move to the target. |
+ | |||
|} | |} | ||
[[Category:AgentCubes_Actions]] | [[Category:AgentCubes_Actions]] |
Latest revision as of 09:59, 30 June 2019
Definition: | The Hill-Climb action: gives the agent Artificial Intelligence. |
Parameters: |
AttributeName: name of the attribute to set Option: You may choose Four Directions which will set the AI to look at the 'AttributeName's property from' left, right, up to down. Or you can set the option to look at the 'AttributeName's property 'from all 8 directions which includes all diagonal directions |
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: | AgentcubesOnline hill-climb example
This example shows how the action hill-climb makes the bug move to the target. |