infoPanel: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also)
m (Text replacement - "[[Arma 3 " to "[[Arma 3: ")
 
(33 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


|arma3|= Game name
|game1= arma3
|version1= 1.72


|1.00|= Game version
|gr1= Custom Panels
____________________________________________________________________________________________


| Returns component of given [[Arma 3 Custom Info |info panel]]. Left and Right can be used as panel names.|= Description
|descr= Returns information about what is currently displayed on given player's info panel.<br>
____________________________________________________________________________________________
Returns ["EmptyDisplay","EmptyDisplayComponent"] when no panel is open.


| '''infoPanel''' panelName |= Syntax
|s1= [[infoPanel]] infoPanelId


|p1= panelName: [[String]] - can be "left" or "right". |=Parameter 1
|p1= infoPanelId: [[String]] - info panel classname, or "left" or "right"
| [[Array]] of [[String|Strings]] |= Return value
 
____________________________________________________________________________________________
|r1= [[Array]] of [[String]]s in format [componentClass, componentType]
|x1 = <code>'''infoPanel''' "left";//Returns ["EmptyDisplay","EmptyDisplayComponent"] when no panel is open</code> |= Example 1
 
____________________________________________________________________________________________
|x1= <sqf>infoPanel "left" params ["_componentClass", "_componentType"];</sqf>
| [[infoPanelComponentEnabled]] [[enableInfoPanelComponent]] [[infoPanelComponents]] [[setInfoPanel]] [[infoPanels ]] [[Arma 3 Custom Info]] |= See also
 
|seealso= [[Arma 3: Custom Info]] [[infoPanels]] [[setInfoPanel]] [[infoPanelComponents]] [[enableInfoPanelComponent]] [[infoPanelComponentEnabled]] [[openGPS]]
}}
}}

Latest revision as of 10:38, 6 May 2024

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 of Strings in format [componentClass, componentType]

Examples

Example 1:
infoPanel "left" params ["_componentClass", "_componentType"];

Additional Information

See also:
Arma 3: Custom Info infoPanels setInfoPanel infoPanelComponents enableInfoPanelComponent infoPanelComponentEnabled openGPS

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