enableAudioFeature
Jump to navigation
Jump to search
Description
- Description:
- Enable/disable an audio feature, features are: "lowpass", "building_interior". Since v2.14 it is possible to enable "building_interior" on an object placed in a building.
- Groups:
- Sounds
Syntax
- Syntax:
- enableAudioFeature [feature, enable]
- Parameters:
- feature: String - "lowpass", "building_interior"
- enable: Boolean - true enable, false, disabled
- Return Value:
- Boolean - Previous state
Alternative Syntax
- Syntax:
- object enableAudioFeature [feature, enable]
- Parameters:
- object: Object
- feature: String - "building_interior" only
- enable: Boolean - true enable, false, disabled
- Return Value:
- Boolean - Previous state
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- insideBuilding
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