BIS fnc playSound: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Add example and see also) |
m (Text replacement - "\[\[Category\:Function Group\: MP(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
||
Line 34: | Line 34: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Functions|{{uc:playSound}}]] | [[Category:Functions|{{uc:playSound}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:playSound}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:playSound}}]] |
Revision as of 01:11, 10 October 2020
Description
- Description:
- Plays given sound. Identical to playSound.
- Execution:
- call
- Groups:
- Uncategorised
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