enableAudioFeature: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command
|arma3 |Game name=
|arma3
|1.64|Game Version=
|1.64
|arg=  |Multiplayer Arguments=
|arg=
|eff=  |Multiplayer Effects=
|eff=


|gr1= Sounds |GROUP1=
|gr1= Sounds
| Enable/disable an audio feature, features are: "lowpass", "building_interior".|DESCRIPTION=
| Enable/disable an audio feature, features are: "lowpass", "building_interior".
| [[enableAudioFeature]] [feature, enable] |SYNTAX=
| [[enableAudioFeature]] [feature, enable]
|p1= feature: [[String]] |PARAMETER1=
|p1= feature: [[String]]
|p2= enable: [[Boolean]] - [[true]] enable, [[false]], disabled |PARAMETER2=
|p2= enable: [[Boolean]] - [[true]] enable, [[false]], disabled
| [[Boolean]] - Previous state |RETURNVALUE=
| [[Boolean]] - Previous state
|x1= prevState = [[enableAudioFeature]] ["lowpass", [[true]]]; |EXAMPLE1=
|x1= prevState = [[enableAudioFeature]] ["lowpass", [[true]]];
| |SEEALSO=
|
}}
}}



Revision as of 00:34, 18 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