enableAudioFeature: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}")
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 02:19, 17 January 2021

Hover & click on the images for description

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

Bottom Section