enableAudioFeature: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Killzone Kid (talk | contribs) No edit summary |
||
Line 8: | Line 8: | ||
|s1= [[enableAudioFeature]] [feature, enable] | |s1= [[enableAudioFeature]] [feature, enable] | ||
|p1= feature: [[String]] | |p1= feature: [[String]] - "lowpass", "building_interior" | ||
|p2= enable: [[Boolean]] - [[true]] enable, [[false]], disabled | |p2= enable: [[Boolean]] - [[true]] enable, [[false]], disabled | ||
|r1= [[Boolean]] - Previous state | |r1= [[Boolean]] - Previous state | ||
Line 15: | Line 15: | ||
|s2since= Arma3 2.14 | |s2since= Arma3 2.14 | ||
|p21= object: [[Object]] | |p21= object: [[Object]] | ||
|p22= feature: [[String]] | |p22= feature: [[String]] - "building_interior" only | ||
|p23= enable: [[Boolean]] - [[true]] enable, [[false]], disabled | |p23= enable: [[Boolean]] - [[true]] enable, [[false]], disabled | ||
|r2= [[Boolean]] - Previous state | |r2= [[Boolean]] - Previous state |
Revision as of 21:47, 29 January 2023
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