|
Drag[en]gine Script Module DragonScript 1.32.1
|
Behavior tree action interface. More...
Public Member Functions | |
| BTResult | runAction (BTContext context, Dictionary parameters) |
| Run action. | |
Behavior tree action interface.
Actions should not store any state since behavior trees can be reused across different game elements using different BTContext. Always store required states in BTContext.
| BTResult Dragengine.BehaviorTreeSystem.BTAction.runAction | ( | BTContext | context, |
| Dictionary | parameters | ||
| ) |
Run action.
| parameters | Dictionary with parameters of type String key and String value. Do not change the content of the dictionary as it is shared. |
Implemented in Dragengine.BehaviorTreeSystem.BTActionParameterTable, Dragengine.BehaviorTreeSystem.BTActionSendGlobalEvent, and Dragengine.BehaviorTreeSystem.BTActionTrigger.