infoPanel: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added game version)
(Add categories)
Line 2: Line 2:
____________________________________________________________________________________________
____________________________________________________________________________________________


|arma3|= Game name
| arma3 |= Game name


|1.72|= Game version
|1.72|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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


|p1= panelName: [[String]] - can be "left" or "right". |=Parameter 1
|p1= infoPanelId: [[String]] - info panel classname, or "left" or "right" |= Parameter 1
| [[Array]] of [[String|Strings]] |= Return value
 
| [[Array]] - format [componentClass, componentType] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
|x1 = <code>'''infoPanel''' "left";//Returns ["EmptyDisplay","EmptyDisplayComponent"] when no panel is open</code> |= Example 1
 
____________________________________________________________________________________________
|x1 = <code>[[infoPanel]] "left";</code> |= Example 1
| [[infoPanelComponentEnabled]] [[enableInfoPanelComponent]] [[infoPanelComponents]] [[setInfoPanel]] [[infoPanels ]] [[Arma 3 Custom Info]] |= See also
 
| [[Arma 3 Custom Info]], [[infoPanels]], [[setInfoPanel]], [[infoPanelComponents]], [[enableInfoPanelComponent]], [[infoPanelComponentEnabled]] |= See also
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Custom Panels]]

Revision as of 22:53, 26 April 2018

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