infoPanelComponents
From Bohemia Interactive Community
Click on the images for descriptions
Introduced in
- Game:
- Arma 3
- Version:
- 1.72
Description
- Description:
- Returns array of all components available to given object info panel.
Syntax
- Syntax:
- unit infoPanelComponents panelID
- Parameters:
- unit: Object - the concerned vehicle
- panelID: String - "left" or "right" can be used as panel names
- Return Value:
- Array - format [className, componentType, isAccessible]:
Alternative Syntax
- Syntax:
- [unit, turretPath] infoPanelComponents panelID
- Parameters:
- unit: Object - the concerned vehicle
- turretPath: Array - turret index
- panelID: String - "left" or "right" can be used as panel names
- Return Value:
- Array - format [className, componentType, isAccessible]:
Examples
- Example 1:
// returns array of all components configured for _helicopter pilot seat _componentsData = [_helicopter, [-1]] infoPanelComponents "VehicleSystemsDisplayManagerComponentLeft";
Additional Information
- Multiplayer:
- -
- See also:
- Arma 3 Custom InfoinfoPanelinfoPanelssetInfoPanelenableInfoPanelComponentinfoPanelComponentEnabled
Notes
Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To
Add New Note | How To