{"name":"getCustomSoundControllerCount","operator":null,"title":"getCustomSoundControllerCount","type":"command","url":"https://community.bistudio.com/wiki/getCustomSoundControllerCount","revid":309206,"updated":"2022-05-03T18:49:18Z","groups":["Sounds"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.86"}],"since":{"game":"arma3","name":"Arma 3","version":"1.86"},"arma3_since":"1.86","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns current number of custom sound controllers supported by the engine for the given vehicle (currently 32)","syntaxes":[{"syntax":"getCustomSoundControllerCount vehicle","since":null,"effect":null,"exec":null,"params":[{"name":"vehicle","type":"Object","optional":false,"default":null,"description":"a transport type vehicle. Does not work on characters or buildings","types":["Object"],"since":null,"text":"vehicle: Object - a transport type vehicle. Does not work on characters or buildings"}],"returns":{"type":"Number","types":["Number"],"description":"number of custom controllers","text":"Number - number of custom controllers"},"form":"unary","operator":null,"left":null,"right":{"text":"vehicle","types":["Object"]}}],"examples":[{"text":"```sqf\ngetCustomSoundControllerCount vehicle player;\n```","code":["getCustomSoundControllerCount vehicle player;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["Arma 3: Sound","setCustomSoundController","getCustomSoundController","getSoundController","getSoundControllerResult","getAllSoundControllers","getEnvSoundController","getAllEnvSoundControllers"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Sounds","Introduced with Arma 3 version 1.86","Scripting Commands"]}