User Tools

Site Tools


dragengine:modules:dragonscript:behavior_playsoundrandom

Differences

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

Link to this comparison view

Next revision
Previous revision
dragengine:modules:dragonscript:behavior_playsoundrandom [2025/03/13 14:46] – created dragonlorddragengine:modules:dragonscript:behavior_playsoundrandom [2025/05/01 13:01] (current) dragonlord
Line 1: Line 1:
 {{tag>dragonscript behavior}} {{tag>dragonscript behavior}}
 <WRAP youarehere> <WRAP youarehere>
-[[:start|Start Page]] >> [[main|DragonScript Scripting Language]] >> [[abstractions#behavior_elementsquick_and_easy_development|Behavior Elements: Quick and Easy Development]] >> **ECBehaviorPlaySoundRandom**+[[:start|Start Page]] >> [[main|DragonScript Scripting Language]] >> [[dragengine:modules:dragonscript:abstractions|Abstraction Layers: How you want to build your Game]] >> [[dragengine:modules:dragonscript:behavior_elements|Behavior Elements]] >> **ECBehaviorPlaySoundRandom**
 </WRAP> </WRAP>
  
Line 165: Line 165:
  
 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 ======
dragengine/modules/dragonscript/behavior_playsoundrandom.1741877164.txt.gz · Last modified: 2025/03/13 14:46 by dragonlord