This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| dragengine:modules:dragonscript:behavior_speaker [2025/05/04 13:49] – [speaker.check] dragonlord | dragengine:modules:dragonscript:behavior_speaker [2026/10/11 14:36] (current) – [speaker.set] dragonlord | ||
|---|---|---|---|
| Line 244: | Line 244: | ||
| <action name=' | <action name=' | ||
| < | < | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ===== 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=' | ||
| + | < | ||
| </ | </ | ||
| </ | </ | ||