enableAudioFeature: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x1= *([^ ]+) \}\}" to "|x1=$1 |seealso= }}")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
Line 4: Line 4:
|arg=
|arg=
|gr1= Sounds
|gr1= Sounds
| Enable/disable an audio feature, features are: "lowpass", "building_interior".
 
|descr= Enable/disable an audio feature, features are: "lowpass", "building_interior".
|s1=  [[enableAudioFeature]] [feature, enable]
|s1=  [[enableAudioFeature]] [feature, enable]



Revision as of 21:03, 13 June 2021

Hover & click on the images for description

Description

Description:
Enable/disable an audio feature, features are: "lowpass", "building_interior".
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