User Tools

Site Tools


stop_sound

This is an old revision of the document!


Stop Sound


Stops an actively playing sound effect. A sound's unique ID is returned from the Play Sound function. The second parameter is optional and will fade out the sound effect over the specified amount of time.

Signature:

stop_sound(sound_id, fade_out_length)
ArgumentDescriptionTypeRequired
sound_id NumberYes
fade_out_length NumberNo

Example:

stop_sound(global.property["alarm_id"], 2);

Results: .

Use the Stop Sound function to…


Editor Node:

stop_sound.1706822169.txt.gz · Last modified: 2024/02/01 13:16 by justin