Drag[en]gine Script Module DragonScript
1.23
|
State machine 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... | |
SMActionTrigger | new (SMActionTrigger action) |
Create copy of action. More... | |
SMActionTrigger | new (StringID name, Action action) |
Create action using BaseGameApp trigger table. More... | |
SMActionTrigger | new (TSTriggerTable triggerTable, StringID name, Action action) |
Create action. More... | |
void | runAction (SMContext 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... | |
Protected Member Functions | |
void | setTriggerTable (TSTriggerTable triggerTable) |
Set trigger table. More... | |
State machine action manipulating trigger target.
StringID Dragengine.StateMachineSystem.SMActionTrigger.getName | ( | ) |
Name of the trigger to set.
TSTriggerTable Dragengine.StateMachineSystem.SMActionTrigger.getTriggerTable | ( | ) |
Trigger table.
TSTriggerTarget Dragengine.StateMachineSystem.SMActionTrigger.getTriggerTarget | ( | ) |
Cached trigger target.
SMActionTrigger Dragengine.StateMachineSystem.SMActionTrigger.new | ( | SMActionTrigger | action | ) |
Create copy of action.
SMActionTrigger Dragengine.StateMachineSystem.SMActionTrigger.new | ( | StringID | name, |
Action | action | ||
) |
Create action using BaseGameApp trigger table.
SMActionTrigger Dragengine.StateMachineSystem.SMActionTrigger.new | ( | TSTriggerTable | triggerTable, |
StringID | name, | ||
Action | action | ||
) |
Create action.
void Dragengine.StateMachineSystem.SMActionTrigger.runAction | ( | SMContext | 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.StateMachineSystem.SMAction.
void Dragengine.StateMachineSystem.SMActionTrigger.setAction | ( | Action | action | ) |
Set action.
void Dragengine.StateMachineSystem.SMActionTrigger.setName | ( | StringID | name | ) |
Set name of the trigger to set.
|
protected |
Set trigger table.