BIS_fnc_playSound

From Bohemia Interactive Community
Revision as of 23:40, 17 January 2021 by Lou Montana (talk | contribs) (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Jump to navigation Jump to search
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

Bottom Section