infoPanels

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.72
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.72

Description

Description:
Returns array all info panels configured for given object or object and turret path.

Syntax

Syntax:
infoPanels unit
Parameters:
unit: Object - the concerned vehicle
Return Value:
Array - format [[infoPanelId1, infoPanelShortcutId1], [infoPanelId2, infoPanelShortcutId2], …]:
  • infoPanelId: String - name of the info panel class as defined in vehicle config
  • infopanelShortcutId: String - shortcut representation of infopanelId, currently are supported only shortcuts "left" and "right"

Alternative Syntax

Syntax:
infoPanels [unit, turretPath]
Parameters:
unit: Object - the concerned vehicle
turretPath: Array - turret index
Return Value:
Array - format [[infoPanelId1, infoPanelShortcutId1], [infoPanelId2, infoPanelShortcutId2], …]:
  • infoPanelId: String - name of the info panel class as defined in vehicle config
  • infopanelShortcutId: String - shortcut representation of infopanelId, currently are supported only shortcuts "left" and "right"

Examples

Example 1:
infoPanels [vehicle player, [0]];

Additional Information

Multiplayer:
-
See also:
Arma 3 Custom InfoinfoPanelsetInfoPanelinfoPanelComponentsenableInfoPanelComponentinfoPanelComponentEnabled

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

Notes

Bottom Section