getCustomSoundController: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.85|= Game version _________________...") |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Return current value set to the controller.|= | | Return current value set to the controller.|DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''getCustomSoundController''' [vehicle,controller name]|= | | '''getCustomSoundController''' [vehicle,controller name]|SYNTAX= | ||
|p1 = vehicle: [[Object]] - must be a transport type vehicle (doesn't work on characters or buildings)|= | |p1 = vehicle: [[Object]] - must be a transport type vehicle (doesn't work on characters or buildings)|= | ||
|p2 = 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"|= | |p2 = 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"|= | ||
Line 16: | Line 16: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1 = <code>[[getCustomSoundController]] [ [[cameraOn]] ,"CustomSoundController1"];</code> | |x1 = <code>[[getCustomSoundController]] [ [[cameraOn]] ,"CustomSoundController1"];</code> | ||
|= | |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Arma 3 Sound]], [[setCustomSoundController]], [[getCustomSoundControllerCount]] |= | | [[Arma 3 Sound]], [[setCustomSoundController]], [[getCustomSoundControllerCount]] |SEEALSO= | ||
}} | }} | ||
Revision as of 14:40, 7 April 2019
Description
- Description:
- Return current value set to the controller.
- Groups:
- Uncategorised
Syntax
- Syntax:
- getCustomSoundController [vehicle,controller name]
- 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"
- Return Value:
- Number
Examples
- Example 1:
getCustomSoundController [ cameraOn ,"CustomSoundController1"];
Additional Information
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