infoPanel: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 9: | Line 9: | ||
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" | ||
| Line 15: | Line 15: | ||
|r1= [[Array]] - format [componentClass, componentType] | |r1= [[Array]] - 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]] | ||
}} | }} | ||
Revision as of 20:44, 7 May 2022
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:
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.
Only post proven facts here! Add Note