enableAudioFeature: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Command|= ____________________________________________________________________________________________ |arma3dev |= Game |1.63|= Game Version |arg= |= Multiplayer Arguments...") |
m (update) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Command|= | {{Command|= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | |arma3 |= Game | ||
|1. | |1.64|= Game Version | ||
|arg= |= Multiplayer Arguments | |arg= |= Multiplayer Arguments | ||
|eff= |= Multiplayer Effects | |eff= |= Multiplayer Effects | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Enable/disable audio feature, features are: "lowpass", "building_interior". Return previous state |= Description | | Enable/disable an audio feature, features are: "lowpass", "building_interior". Return previous state |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| enableAudioFeature [feature, enable] |= Syntax | | [[enableAudioFeature]] [feature, enable] |= Syntax | ||
|p1= feature: [[String]] |= Parameter 1 | |p1= feature: [[String]] |= Parameter 1 | ||
|p2= enable: [[Bool]] - [[true]] enable, [[false]], disabled |= Parameter 2 | |p2= enable: [[Bool]] - [[true]] enable, [[false]], disabled |= Parameter 2 | ||
Line 16: | Line 16: | ||
|p3= |= Parameter 6 | |p3= |= Parameter 6 | ||
| [[Bool]] - Previous state |= Return Value | | [[Bool]] - Previous state |= Return Value | ||
|x1= prevState = enableAudioFeature ["lowpass", [[true]]] |= Example 1 | |x1= prevState = [[enableAudioFeature]] ["lowpass", [[true]]]; |= Example 1 | ||
| - |= See Also | | - |= See Also | ||
}} | }} |
Revision as of 15:08, 17 March 2017
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