getCustomSoundControllerCount: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ") |
Lou Montana (talk | contribs) m (Text replacement - " \|(x[0-9]|p[0-9]{1,2}|descr|game[0-9]|version[0-9]|s[0-9]|exec|r[0-9]|arg|eff|branch|serverExec|gr[0-9]|mp|pr|seealso) +=" to " |$1=") |
||
Line 10: | Line 10: | ||
|s1= '''getCustomSoundControllerCount''' vehicle | |s1= '''getCustomSoundControllerCount''' vehicle | ||
|p1 = vehicle: [[Object]] - A transport type vehicle. Does not work on characters or buildings | |p1= vehicle: [[Object]] - A transport type vehicle. Does not work on characters or buildings | ||
|r1= [[Number]] - Number of custom controllers | |r1= [[Number]] - Number of custom controllers | ||
|x1 = <code>[[getCustomSoundControllerCount]] [[vehicle]] [[player]];</code> | |x1= <code>[[getCustomSoundControllerCount]] [[vehicle]] [[player]];</code> | ||
|seealso= [[Arma 3: Sound]], [[setCustomSoundController]], [[getCustomSoundController]], [[getSoundController]], [[getSoundControllerResult]], [[getAllSoundControllers]], [[getEnvSoundController]], [[getAllEnvSoundControllers]] | |seealso= [[Arma 3: Sound]], [[setCustomSoundController]], [[getCustomSoundController]], [[getSoundController]], [[getSoundControllerResult]], [[getAllSoundControllers]], [[getEnvSoundController]], [[getAllEnvSoundControllers]] | ||
}} | }} |
Revision as of 23:29, 10 June 2021
Description
- Description:
- Returns current number of custom sound controllers supported by the engine for the given vehicle (currently 32)
- Groups:
- Sounds
Syntax
- Syntax:
- getCustomSoundControllerCount vehicle
- Parameters:
- vehicle: Object - A transport type vehicle. Does not work on characters or buildings
- Return Value:
- Number - Number of custom controllers
Examples
- Example 1:
getCustomSoundControllerCount vehicle player;
Additional Information
- See also:
- Arma 3: SoundsetCustomSoundControllergetCustomSoundControllergetSoundControllergetSoundControllerResultgetAllSoundControllersgetEnvSoundControllergetAllEnvSoundControllers
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