enableAudioFeature: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= ____________________________________________________________________________________________ |arma3dev |= Game |1.63|= Game Version |arg= |= Multiplayer Arguments...")
 
m (template:command argument fix)
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|=
{{Command|=
____________________________________________________________________________________________
____________________________________________________________________________________________
|arma3dev |= Game
|arma3 |= Game
|1.63|= Game Version
|1.64|= Game Version
|arg=  |= Multiplayer Arguments
|arg=  |= Multiplayer Arguments
|eff=  |= Multiplayer Effects
|eff=  |= Multiplayer Effects
____________________________________________________________________________________________
____________________________________________________________________________________________
| Enable/disable 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 15: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