enableAudioFeature: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[\[[a-zA-Z0-9]+\]\][^ ]+) *\|x1=" to " |r1= $1 |x1=")
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=")
Line 5: Line 5:
|gr1= Sounds
|gr1= Sounds
| Enable/disable an audio feature, features are: "lowpass", "building_interior".
| Enable/disable an audio feature, features are: "lowpass", "building_interior".
| [[enableAudioFeature]] [feature, enable]
|s1=  [[enableAudioFeature]] [feature, enable]
 
|p1= feature: [[String]]
|p1= feature: [[String]]
|p2= enable: [[Boolean]] - [[true]] enable, [[false]], disabled
|p2= enable: [[Boolean]] - [[true]] enable, [[false]], disabled

Revision as of 23:13, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Sounds

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