Drag[en]gine Script Module DragonScript
1.23
|
Behavior tree action manipulating trigger target. More...
Classes | |
enum | Action |
Actions. More... | |
Public Member Functions | |
Action | getAction () |
Action. More... | |
StringID | getName () |
Name of the trigger to set. More... | |
TSTriggerTable | getTriggerTable () |
Trigger table. More... | |
TSTriggerTarget | getTriggerTarget () |
Cached trigger target. More... | |
BTActionTrigger | new (BTActionTrigger action) |
Create copy of action. More... | |
BTActionTrigger | new (StringID name, Action action) |
Create action using BaseGameApp trigger table. More... | |
BTActionTrigger | new (TSTriggerTable triggerTable, StringID name, Action action) |
Create action. More... | |
BTResult | runAction (BTContext context, Dictionary parameters) |
Run action. More... | |
void | setAction (Action action) |
Set action. More... | |
void | setName (StringID name) |
Set name of the trigger to set. More... | |
Public Attributes | |
Action | pAction |
StringID | pName |
TSTriggerTable | pTriggerTable |
TSTriggerTarget | pTriggerTarget |
Protected Member Functions | |
void | setTriggerTable (TSTriggerTable triggerTable) |
Set trigger table. More... | |
Behavior tree action manipulating trigger target.
This action always returns BTResult.success.
StringID Dragengine.BehaviorTreeSystem.BTActionTrigger.getName | ( | ) |
Name of the trigger to set.
TSTriggerTable Dragengine.BehaviorTreeSystem.BTActionTrigger.getTriggerTable | ( | ) |
Trigger table.
TSTriggerTarget Dragengine.BehaviorTreeSystem.BTActionTrigger.getTriggerTarget | ( | ) |
Cached trigger target.
BTActionTrigger Dragengine.BehaviorTreeSystem.BTActionTrigger.new | ( | BTActionTrigger | action | ) |
Create copy of action.
BTActionTrigger Dragengine.BehaviorTreeSystem.BTActionTrigger.new | ( | StringID | name, |
Action | action | ||
) |
Create action using BaseGameApp trigger table.
BTActionTrigger Dragengine.BehaviorTreeSystem.BTActionTrigger.new | ( | TSTriggerTable | triggerTable, |
StringID | name, | ||
Action | action | ||
) |
Create action.
BTResult Dragengine.BehaviorTreeSystem.BTActionTrigger.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. |
Implements Dragengine.BehaviorTreeSystem.BTAction.
void Dragengine.BehaviorTreeSystem.BTActionTrigger.setAction | ( | Action | action | ) |
Set action.
void Dragengine.BehaviorTreeSystem.BTActionTrigger.setName | ( | StringID | name | ) |
Set name of the trigger to set.
|
protected |
Set trigger table.
Action Dragengine.BehaviorTreeSystem.BTActionTrigger.pAction |
StringID Dragengine.BehaviorTreeSystem.BTActionTrigger.pName |
TSTriggerTable Dragengine.BehaviorTreeSystem.BTActionTrigger.pTriggerTable |
TSTriggerTarget Dragengine.BehaviorTreeSystem.BTActionTrigger.pTriggerTarget |