setCustomSoundController

From Bohemia Interactive Community
Revision as of 11:56, 9 October 2018 by Reyhard (talk | contribs) (Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.85|= Game version _________________...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Introduced with Arma 3 version 1.851.85
Hover & click on the images for descriptions

Description

Description:
Set value of specified custom sound controller.

Syntax

Syntax:
setCustomSoundController [vehicle,controller name, value]
Parameters:
vehicle: Object - must be a transport type vehicle (doesn't work on characters or buildings)
controller name: String - name of custom sound controller. Need to be full string like i.e. "CustomSoundController1". Currently you can pick from "CustomSoundController1" to "CustomSoundController32"
value: Number - desired value
Return Value:
Nothing

Examples

Example 1:
setCustomSoundController [[[cameraon],"CustomSoundController1",12]];
Above line will change value of CustomSoundController1 to 12

Additional Information

See also:
Arma 3 SoundgetCustomSoundControllergetCustomSoundControllerCount

Notes

i
Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.

Notes

Bottom Section