Drag[en]gine Script Module DragonScript
1.21
|
Behavior tree condition interface. More...
Public Member Functions | |
bool | evaluateCondition (BTContext context, Dictionary parameters) |
Evaluate condition. More... | |
Behavior tree condition interface.
Conditions allow to limit running rules without needing to apply the logic directly to the rule itself.
bool Dragengine.BehaviorTreeSystem.BTCondition.evaluateCondition | ( | BTContext | context, |
Dictionary | parameters | ||
) |
Evaluate condition.
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.ConditionTimerFinished, Dragengine.Scenery.ECBehaviorBehaviorTreeTimer.Instance.ActionTimerWait.ConditionTimerRunning, Dragengine.Scenery.ECBehaviorBehaviorTreeFlags.Instance.ConditionFlagsState, Dragengine.BehaviorTreeSystem.BTConditionTrigger, Dragengine.BehaviorTreeSystem.BTConditionParameterTableInt, Dragengine.BehaviorTreeSystem.BTConditionParameterTableFloat, Dragengine.BehaviorTreeSystem.BTConditionParameterTableBool, and Dragengine.BehaviorTreeSystem.BTConditionCombine.