Arma 3 Scripting

infoPanelComponents

  • Arma 3 v1.72

Command · Markdown · JSON · original wiki page

Description

Returns array of all components available to given object info panel.

Syntax

Syntax 1

unit infoPanelComponents panelID

Parameters:

Returns: Array with [className, componentType, isAccessible]

Syntax 2

[unit, turretPath] infoPanelComponents panelID

Parameters:

Returns: Array with [className, componentType, isAccessible]

Examples

Example 1

// returns array of all components configured for _helicopter pilot seat
private _componentsData = [_helicopter, [-1]] infoPanelComponents "left";

See also

Arma 3: Custom Info · infoPanel · infoPanels · setInfoPanel · enableInfoPanelComponent · infoPanelComponentEnabled