infoPanel: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.72 | |1.72 | ||
|gr1= Custom Panels | |gr1= Custom Panels | ||
| Returns information about what is currently displayed on given player's info panel.<br> | | 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. | ||
| [[infoPanel]] infoPanelId | | [[infoPanel]] infoPanelId | ||
|p1= infoPanelId: [[String]] - info panel classname, or "left" or "right" | |p1= infoPanelId: [[String]] - info panel classname, or "left" or "right" | ||
| [[Array]] - format [componentClass, componentType] | | [[Array]] - format [componentClass, componentType] | ||
|x1 = <code>[[infoPanel]] "left";</code> | |x1 = <code>[[infoPanel]] "left";</code> | ||
| [[Arma 3 Custom Info]], [[infoPanels]], [[setInfoPanel]], [[infoPanelComponents]], [[enableInfoPanelComponent]], [[infoPanelComponentEnabled]] | | [[Arma 3 Custom Info]], [[infoPanels]], [[setInfoPanel]], [[infoPanelComponents]], [[enableInfoPanelComponent]], [[infoPanelComponentEnabled]] | ||
}} | }} | ||
Revision as of 00:43, 18 January 2021
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";
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