infoPanel: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= Custom Panels |GROUP1= | |gr1= Custom Panels |GROUP1= | ||
| 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. |DESCRIPTION= | Returns ["EmptyDisplay","EmptyDisplayComponent"] when no panel is open. |DESCRIPTION= | ||
| [[infoPanel]] infoPanelId |SYNTAX= | | [[infoPanel]] infoPanelId |SYNTAX= | ||
Line 18: | Line 15: | ||
| [[Array]] - format [componentClass, componentType] |RETURNVALUE= | | [[Array]] - format [componentClass, componentType] |RETURNVALUE= | ||
|x1 = <code>[[infoPanel]] "left";</code> |EXAMPLE1= | |x1 = <code>[[infoPanel]] "left";</code> |EXAMPLE1= |
Revision as of 01:37, 17 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