getCustomSoundController: Difference between revisions

From Bohemia Interactive Community
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.|= Description
| Return current value set to the controller.|DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''getCustomSoundController''' [vehicle,controller name]|= Syntax
| '''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
|EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________
| [[Arma 3 Sound]], [[setCustomSoundController]], [[getCustomSoundControllerCount]]  |= See also
| [[Arma 3 Sound]], [[setCustomSoundController]], [[getCustomSoundControllerCount]]  |SEEALSO=  
}}
}}



Revision as of 14:40, 7 April 2019

Hover & click on the images for description

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

See also:
Arma 3 SoundsetCustomSoundControllergetCustomSoundControllerCount

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