infoPanel: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "")  | 
				Lou Montana (talk | contribs)  m (Text replacement - "[[Arma 3 " to "[[Arma 3: ")  | 
				||
| (11 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{RV|type=command  | {{RV|type=command  | ||
| arma3  | |game1= arma3  | ||
|version1= 1.72  | |||
|1.72  | |||
|gr1= Custom Panels  | |gr1= Custom Panels  | ||
| Returns information about what is currently displayed on given player's info panel.<br>  | |descr= Returns information about what is currently displayed on given player's info panel.<br>  | ||
Returns ["EmptyDisplay","EmptyDisplayComponent"] when no panel is open.  | Returns ["EmptyDisplay","EmptyDisplayComponent"] when no panel is open.  | ||
|s1=   | |s1= [[infoPanel]] infoPanelId  | ||
|p1= infoPanelId: [[String]] - info panel classname, or "left" or "right"  | |p1= infoPanelId: [[String]] - info panel classname, or "left" or "right"  | ||
|r1= [[Array]]   | |r1= [[Array]] of [[String]]s in format [componentClass, componentType]  | ||
|x1= <  | |x1= <sqf>infoPanel "left" params ["_componentClass", "_componentType"];</sqf>  | ||
|seealso= [[Arma 3 Custom Info]]  | |seealso= [[Arma 3: Custom Info]] [[infoPanels]] [[setInfoPanel]] [[infoPanelComponents]] [[enableInfoPanelComponent]] [[infoPanelComponentEnabled]] [[openGPS]]  | ||
}}  | }}  | ||
Latest revision as of 10:38, 6 May 2024
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:
 
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