stopSound: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "‎" to "")
(Add locality + warning box)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 2.14
|version1= 2.12
|branch= dev
 
|eff= local


|gr1= Sounds
|gr1= Sounds
Line 11: Line 12:
|s1= [[stopSound]] id
|s1= [[stopSound]] id


|p1= id: [[Number]] - id returned by [[playSoundUI]] and [[playSound3D]] commands
|p1= id: [[Number]] - id returned by [[playSoundUI]] and [[playSound3D]] commands{{Feature|important|Sound ids are '''local'''.}}


|r1= [[Nothing]]
|r1= [[Nothing]]

Latest revision as of 13:24, 20 March 2024

Hover & click on the images for description

Description

Description:
Stops 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