enableAudioFeature: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "| - |SEEALSO=" to "| |SEEALSO=")
Line 15: Line 15:
| [[Boolean]] - Previous state |RETURNVALUE=
| [[Boolean]] - Previous state |RETURNVALUE=
|x1= prevState = [[enableAudioFeature]] ["lowpass", [[true]]]; |EXAMPLE1=
|x1= prevState = [[enableAudioFeature]] ["lowpass", [[true]]]; |EXAMPLE1=
| - |SEEALSO=
| |SEEALSO=
}}
}}



Revision as of 03:54, 1 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