{"name":"infoPanelComponents","title":"infoPanelComponents","type":"command","url":"https://community.bistudio.com/wiki/infoPanelComponents","revid":378365,"updated":"2026-04-03T16:46:15Z","groups":["Custom Panels"],"status":"ok","games":{"arma3":"1.72"},"since":"arma3 1.72","arma3_since":"1.72","description":"Returns array of all components available to given object info panel.","syntaxes":[{"syntax":"unit infoPanelComponents panelID","params":[{"name":"unit","type":"Object","description":"the concerned vehicle","type_expr":"Object"},{"name":"panelID","type":"String","description":"\"left\" or \"right\" can be used as panel names","type_expr":"String"}],"returns":{"type":"Array","type_expr":"Array","description":"with [className, componentType, isAccessible]\n- 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\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","left":{"text":"unit"},"right":{"text":"panelID"}},{"syntax":"[unit, turretPath] infoPanelComponents panelID","params":[{"name":"unit","type":"Object","description":"the concerned vehicle","type_expr":"Object"},{"name":"turretPath","type":"Turret Path","description":"turret index","type_expr":"Turret Path"},{"name":"panelID","type":"String","description":"\"left\" or \"right\" can be used as panel names","type_expr":"String"}],"returns":{"type":"Array","type_expr":"Array","description":"with [className, componentType, isAccessible]\n- 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\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","left":{"text":"[unit, turretPath]"},"right":{"text":"panelID"}}],"examples":[{"code":["// returns array of all components configured for _helicopter pilot seat\nprivate _componentsData = [_helicopter, [-1]] infoPanelComponents \"left\";"]}],"see_also":["Arma 3: Custom Info","infoPanel","infoPanels","setInfoPanel","enableInfoPanelComponent","infoPanelComponentEnabled"]}