BIS fnc playSound: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
Line 5: Line 5:
|version1= 1.00
|version1= 1.00


|gr1 = Sound
|gr1= Sound


|descr= Plays given sound. Identical to [[playSound]].
|descr= Plays given sound. Identical to [[playSound]].

Revision as of 13:41, 11 April 2021

Hover & click on the images for description

Description

Description:
Plays given sound. Identical to playSound.
Execution:
call
Groups:
Sound

Syntax

Syntax:
[sound, forced] call BIS_fnc_playSound
Parameters:
sound: String - sound name
forced: Boolean - (Optional, default false)
Return Value:
Boolean - always true

Examples

Example 1:
"3DEN_visionMode" call BIS_fnc_playSound;
Example 2:
["3DEN_visionMode", true] call BIS_fnc_playSound;

Additional Information

See also:
playSound

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