Drag[en]gine Script Module DragonScript
1.21
|
Behavior tree action interface. More...
Public Member Functions | |
BTResult | runAction (BTContext context, Dictionary parameters) |
Run action. More... | |
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.Scenery.ECBehaviorBehaviorTreeTimer.Instance.ActionTimerWait, Dragengine.Scenery.ECBehaviorBehaviorTreeTimer.Instance.ActionTimerStop, Dragengine.Scenery.ECBehaviorBehaviorTreeTimer.Instance.ActionTimerStart, Dragengine.Scenery.ECBehaviorBehaviorTreeFlags.Instance.ActionFlagsCheck, Dragengine.Scenery.ECBehaviorBehaviorTreeFlags.Instance.ActionFlagsSet, Dragengine.Scenery.ECBehaviorAvoidCollision.Instance.BTActionSet, Dragengine.BehaviorTreeSystem.BTActionTrigger, Dragengine.BehaviorTreeSystem.BTActionSendGlobalEvent, and Dragengine.BehaviorTreeSystem.BTActionParameterTable.