BIS fnc playSound: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " {3,}\|" to " |") |
||
Line 8: | Line 8: | ||
|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]] | ||
Line 15: | Line 14: | ||
|p2= forced: [[Boolean]] - (Optional, default [[false]]) | |p2= forced: [[Boolean]] - (Optional, default [[false]]) | ||
|r1= [[Boolean]] - always [[true]] | |r1= [[Boolean]] - always [[true]] | ||
|x1= <code>"3DEN_visionMode" [[call]] [[BIS_fnc_playSound]];</code> | |x1= <code>"3DEN_visionMode" [[call]] [[BIS_fnc_playSound]];</code> | ||
|x2= <code>["3DEN_visionMode", [[true]]] [[call]] [[BIS_fnc_playSound]];</code> | |x2= <code>["3DEN_visionMode", [[true]]] [[call]] [[BIS_fnc_playSound]];</code> | ||
|seealso= [[playSound]] | |seealso= [[playSound]] |
Revision as of 22:59, 18 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