User Tools

Site Tools


dragengine:modules:dragonscript:behavior_actoranimated

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_actoranimated [2025/05/03 22:28] dragonlorddragengine:modules:dragonscript:behavior_actoranimated [2025/05/11 13:10] (current) – [actorAnimated.update] dragonlord
Line 81: Line 81:
 <action name='actorAnimated.set'> <action name='actorAnimated.set'>
   <parameter name='animator'>open door</parameter>   <parameter name='animator'>open door</parameter>
 +</action>
 +</code>
 +
 +===== actorAnimated.update =====
 +
 +Update actor animated.
 +
 +^Parameter^Value^Description^
 +|notifyControllersChanged| |Notify all listeners controllers changed.|
 +|apply| |Apply animator. This starts the asynchronous process of applying the animator without waiting until it is finished. Waiting is done automatically whenever actions require the result.|
 +
 +This is an example of using this action:
 +<code xml>
 +<action name='actorAnimated.update'>
 +  <parameter name='apply'/>
 </action> </action>
 </code> </code>
Line 104: Line 119:
 |controller.value.atLower| |Current value of controller is at lower value| |controller.value.atLower| |Current value of controller is at lower value|
 |controller.value.atUpper| |Current value of controller is at upper value| |controller.value.atUpper| |Current value of controller is at upper value|
 +|wait| |If present action returns BTResult.running instead of BTResult.failed to wait until the checks are all fulfilled|
  
 This is an example of using this action: This is an example of using this action:
dragengine/modules/dragonscript/behavior_actoranimated.1746311330.txt.gz · Last modified: 2025/05/03 22:28 by dragonlord