enableAudioFeature: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (update)
m (template:command argument fix)
Line 6: Line 6:
|eff=  |= Multiplayer Effects
|eff=  |= Multiplayer Effects
____________________________________________________________________________________________
____________________________________________________________________________________________
| Enable/disable an audio feature, features are: "lowpass", "building_interior". Return previous state |= Description
| Enable/disable an audio feature, features are: "lowpass", "building_interior". Return previous state |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________
| [[enableAudioFeature]] [feature, enable] |= Syntax
| [[enableAudioFeature]] [feature, enable] |SYNTAX=
|p1= feature: [[String]] |= Parameter 1
|p1= feature: [[String]] |PARAMETER1=
|p2= enable: [[Bool]] - [[true]] enable, [[false]], disabled |= Parameter 2
|p2= enable: [[Bool]] - [[true]] enable, [[false]], disabled |PARAMETER2=
|p3=  |= Parameter 3
|p3=  |PARAMETER3=
|p3=  |= Parameter 4
|p3=  |PARAMETER4=
|p3=  |= Parameter 5
|p3=  |PARAMETER5=
|p3=  |= Parameter 6
|p3=  |PARAMETER6=
| [[Bool]] - Previous state |= Return Value
| [[Bool]] - Previous state |RETURNVALUE=
|x1= prevState = [[enableAudioFeature]] ["lowpass", [[true]]]; |= Example 1
|x1= prevState = [[enableAudioFeature]] ["lowpass", [[true]]]; |EXAMPLE1=
| - |= See Also
| - |SEEALSO=
}}
}}



Revision as of 14:38, 7 April 2019

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: Bool - true enable, false, disabled
Return Value:
Bool - 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