enableAudioFeature: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
|arma3 | |arma3 | ||
|1.64 | |1.64 | ||
|arg | |arg= | ||
|eff | |eff= | ||
|gr1= Sounds | |gr1= Sounds | ||
| Enable/disable an audio feature, features are: "lowpass", "building_interior". | | Enable/disable an audio feature, features are: "lowpass", "building_interior". | ||
| [[enableAudioFeature]] [feature, enable] | | [[enableAudioFeature]] [feature, enable] | ||
|p1= feature: [[String]] | |p1= feature: [[String]] | ||
|p2= enable: [[Boolean]] - [[true]] enable, [[false]], disabled | |p2= enable: [[Boolean]] - [[true]] enable, [[false]], disabled | ||
| [[Boolean]] - Previous state | | [[Boolean]] - Previous state | ||
|x1= prevState = [[enableAudioFeature]] ["lowpass", [[true]]]; | |x1= prevState = [[enableAudioFeature]] ["lowpass", [[true]]]; | ||
| | | | ||
}} | }} | ||
Revision as of 00:34, 18 January 2021
Description
- Description:
- Enable/disable an audio feature, features are: "lowpass", "building_interior".
- Groups:
- Sounds
Syntax
- Syntax:
- enableAudioFeature [feature, enable]
- Parameters:
- feature: String
- enable: Boolean - true enable, false, disabled
- Return Value:
- Boolean - Previous state
Examples
- Example 1:
- prevState = enableAudioFeature ["lowpass", true];
Additional Information
- See also:
- See also needed
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