infoPanel

From Bohemia Interactive Community
Revision as of 15:43, 17 January 2021 by Lou Montana (talk | contribs) (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns information about what is currently displayed on given player's info panel.
Returns ["EmptyDisplay","EmptyDisplayComponent"] when no panel is open.
Groups:
Custom Panels

Syntax

Syntax:
infoPanel infoPanelId
Parameters:
infoPanelId: String - info panel classname, or "left" or "right"
Return Value:
Array - format [componentClass, componentType]

Examples

Example 1:
infoPanel "left";

Additional Information

See also:
Arma 3 Custom InfoinfoPanelssetInfoPanelinfoPanelComponentsenableInfoPanelComponentinfoPanelComponentEnabled

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Bottom Section