setCustomSoundController

From Bohemia Interactive Community
Revision as of 12: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
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Hover & click on the images for description

Description

Description:
Set value of specified custom sound controller.
Groups:
Uncategorised

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

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

Notes

Bottom Section