enableAudioFeature: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |p3= |PARAMETER3= |p3= |PARAMETER4= |p3= |PARAMETER5= |p3= |PARAMETER6=" to "") |
Lou Montana (talk | contribs) |
||
Line 10: | Line 10: | ||
| [[enableAudioFeature]] [feature, enable] |SYNTAX= | | [[enableAudioFeature]] [feature, enable] |SYNTAX= | ||
|p1= feature: [[String]] |PARAMETER1= | |p1= feature: [[String]] |PARAMETER1= | ||
|p2= enable: [[ | |p2= enable: [[Boolean]] - [[true]] enable, [[false]], disabled |PARAMETER2= | ||
| [[ | | [[Boolean]] - Previous state |RETURNVALUE= | ||
|x1= prevState = [[enableAudioFeature]] ["lowpass", [[true]]]; |EXAMPLE1= | |x1= prevState = [[enableAudioFeature]] ["lowpass", [[true]]]; |EXAMPLE1= | ||
| - |SEEALSO= | | - |SEEALSO= |
Revision as of 00:24, 24 August 2020
Description
- Description:
- Enable/disable an audio feature, features are: "lowpass", "building_interior". Return previous state
- Groups:
- Uncategorised
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:
- -
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