enableAudioFeature: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " \| *(\[\[[a-zA-Z0-9]+\]\][^ ]+) *\|x1=" to " |r1= $1 |x1=")
Line 8: Line 8:
|p1= feature: [[String]]
|p1= feature: [[String]]
|p2= enable: [[Boolean]] - [[true]] enable, [[false]], disabled
|p2= enable: [[Boolean]] - [[true]] enable, [[false]], disabled
| [[Boolean]] - Previous state
|r1= [[Boolean]] - Previous state
 
|x1= prevState = [[enableAudioFeature]] ["lowpass", [[true]]];
|x1= prevState = [[enableAudioFeature]] ["lowpass", [[true]]];
}}
}}


{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}

Revision as of 14:21, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Sounds

Syntax

Syntax:
Syntax needed
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