This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dragengine:modules:dragonscript:behavior_actoraiaction [2025/05/05 20:34] – dragonlord | dragengine:modules:dragonscript:behavior_actoraiaction [2025/05/06 16:14] (current) – [aiAction.set] dragonlord | ||
---|---|---|---|
Line 36: | Line 36: | ||
^Parameter^Value^Description^ | ^Parameter^Value^Description^ | ||
- | |ai.behaviorTree|string|Set AI using BAAIBehaviorTree with behavior tree loaded from value path| | + | |ai.behaviorTree|string|Set AI using BAAIBehaviorTree with behavior tree loaded from value path. Path can be relative to behavior tree file containing this action| |
+ | |action.stateMachine|string|Set Action using BAAStateMachine with state machine loaded from value path. Path can be relative to behavior tree or state machine file containing this action| | ||
This is an example of using this action: | This is an example of using this action: | ||
<code xml> | <code xml> | ||
- | <action name='forceField.set'> | + | <action name='aiAction.set'> |
< | < | ||
+ | < | ||
</ | </ | ||
</ | </ |