BIS fnc playSound: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (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...) |
||
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]]. | ||
|s1= [sound, forced] call [[BIS_fnc_playSound]] | |s1= [sound, forced] call [[BIS_fnc_playSound]] | ||
|p1= sound: [[String]] - sound name | |p1= sound: [[String]] - sound name |
Revision as of 23:40, 17 January 2021
Description
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