User Tools

Site Tools


dragengine:modules:dragonscript:behavior_speaker

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
dragengine:modules:dragonscript:behavior_speaker [2025/05/04 13:49] – [speaker.check] dragonlorddragengine:modules:dragonscript:behavior_speaker [2026/10/11 14:36] (current) – [speaker.set] dragonlord
Line 244: Line 244:
 <action name='speaker.set'> <action name='speaker.set'>
   <parameter name='playing'>true</parameter>   <parameter name='playing'>true</parameter>
 +</action>
 +</code>
 +
 +===== speaker.update =====
 +
 +Update speaker.
 +
 +^Parameter^Value^Description^
 +|playOnceDetached| |Clones speaker instance used by behavior as a standalone speaker destroying itself once finished playing. Works only if speaker exist and owner element is in a game world.|
 +
 +This is an example of using this action to burst particles surviving disposing of the element afterwards:
 +<code xml>
 +<action name='speaker.update'>
 +  <parameter name='playOnceDetached'/>
 </action> </action>
 </code> </code>
dragengine/modules/dragonscript/behavior_speaker.txt · Last modified: by dragonlord