getCustomSoundController

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version1.85
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.85

Description

Description:
Returns current value set to the controller (see setCustomSoundController)

Syntax

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

Examples

Example 1:
getCustomSoundController [vehicle player, "CustomSoundController1"];

Additional Information

Multiplayer:
-
See also:
Arma 3 SoundsetCustomSoundControllergetCustomSoundControllerCountgetSoundControllergetSoundControllerResultgetAllSoundControllersgetEnvSoundControllergetAllEnvSoundControllers

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