User Tools

Site Tools


dragengine:modules:dragonscript:behavior_playsound

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_playsound [2025/03/13 17:16] dragonlorddragengine:modules:dragonscript:behavior_playsound [2025/05/01 13:00] (current) dragonlord
Line 152: Line 152:
  
 This behavior has no events. This behavior has no events.
 +
 +====== Behavior Tree Actions ======
 +
 +This behavior adds these behavior tree actions if behavior tree is present. If behavior has non-empty identifier replace ''playSound'' with ''playSound(id)''.
 +
 +===== playSound.play =====
 +
 +Play sound.
 +
 +This is an example of using this action:
 +<code xml>
 +<action name='playSound.play'/>
 +</code>
  
 ====== Required Behaviors ====== ====== Required Behaviors ======
Line 254: Line 267:
                    default is 'default' -->                    default is 'default' -->
     <string name='triggerTable'>default</string>     <string name='triggerTable'>default</string>
 +    
 +    <!-- optional: identifier of ECBehaviorTriggered to synchronize with or empty
 +                   string to not synchronize. default is empty string. -->
 +    <string name='trigger.synchronize'>other</string>
          
     <!-- set element properties. omit property prefix if used inside behavior tag -->     <!-- set element properties. omit property prefix if used inside behavior tag -->
dragengine/modules/dragonscript/behavior_playsound.1741886183.txt.gz · Last modified: 2025/03/13 17:16 by dragonlord