Drag[en]gine Script Module DragonScript
1.23
|
Behavior tree action using block. More...
Public Member Functions | |
BTBlockAction | new (Block ablock) |
Create action. More... | |
Public Member Functions inherited from Dragengine.BehaviorTreeSystem.BTAction | |
BTResult | runAction (BTContext context, Dictionary parameters) |
Run action. More... | |
Public Attributes | |
Block | pBlock |
Behavior tree action using block.
Provides support to add tiny actions often just calling a BTContext method without needing to implement a full class. The used block has to take two parameter of type BTContext context and Dictionary and parameters has to return an integer value from BTAction.eReturnValues. Do not change the content of the dictionary as it is shared.
BTBlockAction Dragengine.BehaviorTreeSystem.BTBlockAction.new | ( | Block | ablock | ) |
Create action.
Block Dragengine.BehaviorTreeSystem.BTBlockAction.pBlock |