infoPanel: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Some wiki formatting)
Line 15: Line 15:
|r1= [[Array]] - format [componentClass, componentType]
|r1= [[Array]] - format [componentClass, componentType]


|x1= <code>[[infoPanel]] "left";</code>
|x1= <sqf>infoPanel "left" params ["_componentClass", "_componentType"];</sqf>


|seealso= [[Arma 3 Custom Info]] [[infoPanels]] [[setInfoPanel]] [[infoPanelComponents]] [[enableInfoPanelComponent]] [[infoPanelComponentEnabled]] [[openGPS]]
|seealso= [[Arma 3 Custom Info]] [[infoPanels]] [[setInfoPanel]] [[infoPanelComponents]] [[enableInfoPanelComponent]] [[infoPanelComponentEnabled]] [[openGPS]]
}}
}}

Revision as of 20:44, 7 May 2022

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