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...")
 
No edit summary
Line 6: Line 6:
|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]] |= Parameter 1
|p2= enable: [[Bool]] - [[true]] enable, [[false]], disabled |= Parameter 2
|p2= enable: [[Bool]] - [[true]] enable, [[false]], disabled |= Parameter 2
Line 16: Line 16:
|p3=  |= Parameter 6
|p3=  |= Parameter 6
| [[Bool]] - Previous state |= Return Value
| [[Bool]] - Previous state |= Return Value
|x1= prevState = enableAudioFeature ["lowpass", [[true]]] |= Example 1
|x1= prevState = [[enableAudioFeature]] ["lowpass", [[true]]]; |= Example 1
| - |= See Also
| - |= See Also
}}
}}

Revision as of 20:50, 4 July 2016

-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.63|1.63]]
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

[[Category:Introduced with arma3dev version 1.63]][[ Category: arma3dev: New Scripting Commands | ENABLEAUDIOFEATURE]][[ Category: arma3dev: Scripting Commands | ENABLEAUDIOFEATURE]]

Bottom Section