infoPanel: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[\[[a-zA-Z0-9]+\]\][^ ]+) *\|x1=" to " |r1= $1 |x1=")
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * \|p1=" to " |s1= $1 |p1=")
Line 10: Line 10:
Returns ["EmptyDisplay","EmptyDisplayComponent"] when no panel is open.
Returns ["EmptyDisplay","EmptyDisplayComponent"] when no panel is open.


| [[infoPanel]] infoPanelId
|s1=  [[infoPanel]] infoPanelId


|p1= infoPanelId: [[String]] - info panel classname, or "left" or "right"
|p1= infoPanelId: [[String]] - info panel classname, or "left" or "right"

Revision as of 00:04, 13 June 2021

Hover & click on the images for description

Description

Description:
Description needed
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 InfoinfoPanelssetInfoPanelinfoPanelComponentsenableInfoPanelComponentinfoPanelComponentEnabledopenGPS

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