infoPanel: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3


|1.72|Game version=
|1.72


|gr1= Custom Panels |GROUP1=
|gr1= Custom Panels


| 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.


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


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


| [[Array]] - format [componentClass, componentType] |RETURNVALUE=
| [[Array]] - format [componentClass, componentType]


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


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



Revision as of 01:43, 18 January 2021

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