User Tools

Site Tools


dragengine:modules:dragonscript:behavior_actoraiaction

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dragengine:modules:dragonscript:behavior_actoraiaction [2025/05/05 20:34] dragonlorddragengine: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'>
   <parameter name='ai.behaviorTree'>/content/ai/patrol.debt</parameter>   <parameter name='ai.behaviorTree'>/content/ai/patrol.debt</parameter>
 +  <parameter name='action.stateMachine'>/content/action/human.desm</parameter>
 </action> </action>
 </code> </code>
dragengine/modules/dragonscript/behavior_actoraiaction.1746477246.txt.gz · Last modified: 2025/05/05 20:34 by dragonlord