setCustomSoundController

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.85
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.85

Description

Description:
Set value of specified custom sound controller. Return true if value was set to the controller, false if not

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

Examples

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

Additional Information

Multiplayer:
-
See also:
Arma 3 SoundgetCustomSoundControllergetCustomSoundControllerCount

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section