enableAudioFeature: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |p3= |PARAMETER3= |p3= |PARAMETER4= |p3= |PARAMETER5= |p3= |PARAMETER6=" to "")
m (Text replacement - "Bool" to "Boolean")
Line 10: Line 10:
| [[enableAudioFeature]] [feature, enable] |SYNTAX=
| [[enableAudioFeature]] [feature, enable] |SYNTAX=
|p1= feature: [[String]] |PARAMETER1=
|p1= feature: [[String]] |PARAMETER1=
|p2= enable: [[Bool]] - [[true]] enable, [[false]], disabled |PARAMETER2=
|p2= enable: [[Boolean]] - [[true]] enable, [[false]], disabled |PARAMETER2=
| [[Bool]] - Previous state |RETURNVALUE=
| [[Boolean]] - Previous state |RETURNVALUE=
|x1= prevState = [[enableAudioFeature]] ["lowpass", [[true]]]; |EXAMPLE1=
|x1= prevState = [[enableAudioFeature]] ["lowpass", [[true]]]; |EXAMPLE1=
| - |SEEALSO=
| - |SEEALSO=

Revision as of 01:24, 24 August 2020

Hover & click on the images for description

Description

Description:
Enable/disable an audio feature, features are: "lowpass", "building_interior". Return previous state
Groups:
Uncategorised

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