enableAudioFeature: Difference between revisions
Jump to navigation
Jump to search
m (update) |
m (template:command argument fix) |
||
Line 6: | Line 6: | ||
|eff= |= Multiplayer Effects | |eff= |= Multiplayer Effects | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Enable/disable an audio feature, features are: "lowpass", "building_interior". Return previous state |= | | Enable/disable an audio feature, features are: "lowpass", "building_interior". Return previous state |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[enableAudioFeature]] [feature, enable] |= | | [[enableAudioFeature]] [feature, enable] |SYNTAX= | ||
|p1= feature: [[String]] |= | |p1= feature: [[String]] |PARAMETER1= | ||
|p2= enable: [[Bool]] - [[true]] enable, [[false]], disabled |= | |p2= enable: [[Bool]] - [[true]] enable, [[false]], disabled |PARAMETER2= | ||
|p3= |= | |p3= |PARAMETER3= | ||
|p3= |= | |p3= |PARAMETER4= | ||
|p3= |= | |p3= |PARAMETER5= | ||
|p3= |= | |p3= |PARAMETER6= | ||
| [[Bool]] - Previous state |= | | [[Bool]] - Previous state |RETURNVALUE= | ||
|x1= prevState = [[enableAudioFeature]] ["lowpass", [[true]]]; |= | |x1= prevState = [[enableAudioFeature]] ["lowpass", [[true]]]; |EXAMPLE1= | ||
| - |= | | - |SEEALSO= | ||
}} | }} | ||
Revision as of 14:38, 7 April 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