{"name":"infoPanelComponents","operator":null,"title":"infoPanelComponents","type":"command","url":"https://community.bistudio.com/wiki/infoPanelComponents","revid":378365,"updated":"2026-04-03T16:46:15Z","groups":["Custom Panels"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.72"}],"since":{"game":"arma3","name":"Arma 3","version":"1.72"},"arma3_since":"1.72","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns array of all components available to given object info panel.","syntaxes":[{"syntax":"unit infoPanelComponents panelID","since":null,"effect":null,"exec":null,"params":[{"name":"unit","type":"Object","optional":false,"default":null,"description":"the concerned vehicle","types":["Object"],"since":null,"text":"unit: Object - the concerned vehicle"},{"name":"panelID","type":"String","optional":false,"default":null,"description":"\"left\" or \"right\" can be used as panel names","types":["String"],"since":null,"text":"panelID: String - \"left\" or \"right\" can be used as panel names"}],"returns":{"type":"Array with [className, componentType, isAccessible]","types":["Array"],"description":"className: String - component classname as defined in object/vehicle config - componentType: String - componentType - component type - isAccessible: Boolean - boolean flag that shows if component is currently accessible (lack of required item can make it temporarily inaccessible)","text":"Array with [className, componentType, isAccessible]\n- className: String - component classname as defined in object/vehicle config\n- componentType: String - componentType - component type\n- isAccessible: Boolean - boolean flag that shows if component is currently accessible (lack of required item can make it temporarily inaccessible)"},"form":"binary","operator":null,"left":{"text":"unit","types":["Object"]},"right":{"text":"panelID","types":["String"]}},{"syntax":"[unit, turretPath] infoPanelComponents panelID","since":null,"effect":null,"exec":null,"params":[{"name":"unit","type":"Object","optional":false,"default":null,"description":"the concerned vehicle","types":["Object"],"since":null,"text":"unit: Object - the concerned vehicle"},{"name":"turretPath","type":"Turret Path","optional":false,"default":null,"description":"turret index","types":["Turret Path"],"since":null,"text":"turretPath: Turret Path - turret index"},{"name":"panelID","type":"String","optional":false,"default":null,"description":"\"left\" or \"right\" can be used as panel names","types":["String"],"since":null,"text":"panelID: String - \"left\" or \"right\" can be used as panel names"}],"returns":{"type":"Array with [className, componentType, isAccessible]","types":["Array"],"description":"className: String - component classname as defined in object/vehicle config - componentType: String - componentType - component type - isAccessible: Boolean - boolean flag that shows if component is currently accessible (lack of required item can make it temporarily inaccessible)","text":"Array with [className, componentType, isAccessible]\n- className: String - component classname as defined in object/vehicle config\n- componentType: String - componentType - component type\n- isAccessible: Boolean - boolean flag that shows if component is currently accessible (lack of required item can make it temporarily inaccessible)"},"form":"binary","operator":null,"left":{"text":"[unit, turretPath]","types":["Array"]},"right":{"text":"panelID","types":["String"]}}],"examples":[{"text":"```sqf\n// returns array of all components configured for _helicopter pilot seat\nprivate _componentsData = [_helicopter, [-1]] infoPanelComponents \"left\";\n```","code":["// returns array of all components configured for _helicopter pilot seat\nprivate _componentsData = [_helicopter, [-1]] infoPanelComponents \"left\";"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["Arma 3: Custom Info","infoPanel","infoPanels","setInfoPanel","enableInfoPanelComponent","infoPanelComponentEnabled"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Custom Panels","Introduced with Arma 3 version 1.72","Scripting Commands"]}