BIS fnc playSound: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|game([0-9])= *([^ ]+) * +\|version([0-9])= *([^ ]+) * " to "|game$1=$2 |version$3=$4 ") |
Lou Montana (talk | contribs) m (Text replacement - "<code>(\[?[^\[]+\]?) *(\[\[)?(call|spawn)(\]\])? *(\[\[)?(BI(N|S)_fnc_[a-zA-Z0-9_]+)(\]\])?;?<\/code>" to "<sqf>$1 $3 $6;</sqf>") |
||
Line 16: | Line 16: | ||
|r1= [[Boolean]] - always [[true]] | |r1= [[Boolean]] - always [[true]] | ||
|x1= < | |x1= <sqf>"3DEN_visionMode" call BIS_fnc_playSound;</sqf> | ||
|x2= <code>["3DEN_visionMode", [[true]]] [[call]] [[BIS_fnc_playSound]];</code> | |x2= <code>["3DEN_visionMode", [[true]]] [[call]] [[BIS_fnc_playSound]];</code> |
Revision as of 13:24, 1 July 2022
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:
- 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