infoPanel: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Add categories)
m (template:command argument fix)
Line 8: Line 8:


| Returns information about what is currently displayed on given player's info panel.<br />
| Returns information about what is currently displayed on given player's info panel.<br />
Returns ["EmptyDisplay","EmptyDisplayComponent"] when no panel is open. |= Description
Returns ["EmptyDisplay","EmptyDisplayComponent"] when no panel is open. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[infoPanel]] infoPanelId |= Syntax
| [[infoPanel]] infoPanelId |SYNTAX=


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


| [[Array]] - format [componentClass, componentType] |= Return value
| [[Array]] - format [componentClass, componentType] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1 = <code>[[infoPanel]] "left";</code> |= Example 1
|x1 = <code>[[infoPanel]] "left";</code> |EXAMPLE1=


| [[Arma 3 Custom Info]], [[infoPanels]], [[setInfoPanel]], [[infoPanelComponents]], [[enableInfoPanelComponent]], [[infoPanelComponentEnabled]] |= See also
| [[Arma 3 Custom Info]], [[infoPanels]], [[setInfoPanel]], [[infoPanelComponents]], [[enableInfoPanelComponent]], [[infoPanelComponentEnabled]] |SEEALSO=
}}
}}



Revision as of 14:41, 7 April 2019

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:
Uncategorised

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

Notes

Bottom Section