infoPanel: Difference between revisions
| Lou Montana (talk | contribs)  (Add categories) | m (template:command argument fix) | ||
| Line 8: | Line 8: | ||
| | 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. |DESCRIPTION= | ||
| ____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | [[infoPanel]] infoPanelId |=  | | [[infoPanel]] infoPanelId |SYNTAX= | ||
| |p1= infoPanelId: [[String]] - info panel classname, or "left" or "right" |=  | |p1= infoPanelId: [[String]] - info panel classname, or "left" or "right" |PARAMETER1= | ||
| | [[Array]] - format [componentClass, componentType] |=  | | [[Array]] - format [componentClass, componentType] |RETURNVALUE= | ||
| ____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |x1 = <code>[[infoPanel]] "left";</code> |=  | |x1 = <code>[[infoPanel]] "left";</code> |EXAMPLE1= | ||
| | [[Arma 3 Custom Info]], [[infoPanels]], [[setInfoPanel]], [[infoPanelComponents]], [[enableInfoPanelComponent]], [[infoPanelComponentEnabled]] |=  | | [[Arma 3 Custom Info]], [[infoPanels]], [[setInfoPanel]], [[infoPanelComponents]], [[enableInfoPanelComponent]], [[infoPanelComponentEnabled]] |SEEALSO= | ||
| }} | }} | ||
Revision as of 14:41, 7 April 2019
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
