enableAudioFeature: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
|arma3 |Game name= | |arma3 |Game name= | ||
|1.64|Game Version= | |1.64|Game Version= | ||
Line 7: | Line 6: | ||
|gr1= Sounds |GROUP1= | |gr1= Sounds |GROUP1= | ||
| Enable/disable an audio feature, features are: "lowpass", "building_interior".|DESCRIPTION= | | Enable/disable an audio feature, features are: "lowpass", "building_interior".|DESCRIPTION= | ||
| [[enableAudioFeature]] [feature, enable] |SYNTAX= | | [[enableAudioFeature]] [feature, enable] |SYNTAX= | ||
|p1= feature: [[String]] |PARAMETER1= | |p1= feature: [[String]] |PARAMETER1= |
Revision as of 01:19, 17 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