enableAudioFeature: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "Bool" to "Boolean")
mNo edit summary
Line 5: Line 5:
|arg=  |Multiplayer Arguments=
|arg=  |Multiplayer Arguments=
|eff=  |Multiplayer Effects=
|eff=  |Multiplayer Effects=
|gr1= Sounds |GROUP1=
____________________________________________________________________________________________
____________________________________________________________________________________________
| Enable/disable an audio feature, features are: "lowpass", "building_interior". Return previous state |DESCRIPTION=
| Enable/disable an audio feature, features are: "lowpass", "building_interior".|DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________
| [[enableAudioFeature]] [feature, enable] |SYNTAX=
| [[enableAudioFeature]] [feature, enable] |SYNTAX=

Revision as of 13:54, 24 September 2020

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:
-

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