setCustomSoundController: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (format, not about case sensitivity) |
Killzone Kid (talk | contribs) (see also) |
||
Line 22: | Line 22: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Arma 3 Sound]], [[getCustomSoundController]], [[getCustomSoundControllerCount]] |SEEALSO= | | [[Arma 3 Sound]], [[getCustomSoundController]], [[getCustomSoundControllerCount]], [[getSoundController]], [[getSoundControllerResult]], [[getAllSoundControllers]], [[getEnvSoundController]], [[getAllEnvSoundControllers]] |SEEALSO= | ||
}} | }} | ||
Revision as of 10:45, 3 May 2019
Description
- Description:
- Sets value of the specified custom sound controller to be used in simple expressions. Returns true if value was set to the controller, false if command fails, for example if vehicle is not a transport or controller name is not recognised.
- Groups:
- Uncategorised
Syntax
- Syntax:
- setCustomSoundController [vehicle, controller, value]
- Parameters:
- vehicle: Object - must be a transport type vehicle (doesn't work on characters or buildings)
- controller: String - name of the 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 - true on success
Examples
- Example 1:
- Change value of CustomSoundController1 to 12
setCustomSoundController [vehicle player, "CustomSoundController1", 12];
Additional Information
- See also:
- Arma 3 SoundgetCustomSoundControllergetCustomSoundControllerCountgetSoundControllergetSoundControllerResultgetAllSoundControllersgetEnvSoundControllergetAllEnvSoundControllers
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