stopSound: Difference between revisions

From Bohemia Interactive Community
(Add locality + warning box)
No edit summary
 
Line 8: Line 8:
|gr1= Sounds
|gr1= Sounds


|descr= Stops the given sound
|descr= Terminates the given sound


|s1= [[stopSound]] id
|s1= [[stopSound]] id

Latest revision as of 14:58, 21 November 2025

Hover & click on the images for description

Description

Description:
Terminates the given sound
Groups:
Sounds

Syntax

Syntax:
stopSound id
Parameters:
id: Number - id returned by playSoundUI and playSound3D commands
Sound ids are local.
Return Value:
Nothing

Examples

Example 1:
stopSound 10;

Additional Information

See also:
playSoundUI playSound3D soundParams

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note