API Sound.Flush: Difference between revisions
Appearance
No edit summary |
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable"" |
||
| Line 1: | Line 1: | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
Revision as of 13:11, 13 July 2026
| Flush | |
| Stops all playing and queued sounds | |
| Sounds | |
| The handle of the sound object to flush | |
| Return | |
Detailed description
This will cause all sound waves currently playing or queued in the handle to be discarded.
Examples
Calling in a calculation
- Add to a calculation icon:
::Sound.Flush(sounds)