enableAudioFeature: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|arma3 |= Game " to "|arma3 |Game name= ") |
Lou Montana (talk | contribs) m (Text replacement - " |p3= |PARAMETER3= |p3= |PARAMETER4= |p3= |PARAMETER5= |p3= |PARAMETER6=" to "") |
||
Line 11: | Line 11: | ||
|p1= feature: [[String]] |PARAMETER1= | |p1= feature: [[String]] |PARAMETER1= | ||
|p2= enable: [[Bool]] - [[true]] enable, [[false]], disabled |PARAMETER2= | |p2= enable: [[Bool]] - [[true]] enable, [[false]], disabled |PARAMETER2= | ||
| [[Bool]] - Previous state |RETURNVALUE= | | [[Bool]] - Previous state |RETURNVALUE= | ||
|x1= prevState = [[enableAudioFeature]] ["lowpass", [[true]]]; |EXAMPLE1= | |x1= prevState = [[enableAudioFeature]] ["lowpass", [[true]]]; |EXAMPLE1= |
Revision as of 13:07, 3 September 2019
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: Bool - true enable, false, disabled
- Return Value:
- Bool - 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