infoPanel: Difference between revisions
Jump to navigation
Jump to search
m (added game version) |
Lou Montana (talk | contribs) (Add categories) |
||
Line 2: | Line 2: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|arma3|= Game name | | arma3 |= Game name | ||
|1.72|= Game version | |1.72|= Game version | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns | | Returns information about what is currently displayed on given player's info panel.<br /> | ||
Returns ["EmptyDisplay","EmptyDisplayComponent"] when no panel is open. |= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[infoPanel]] infoPanelId |= Syntax | ||
|p1= | |p1= infoPanelId: [[String]] - info panel classname, or "left" or "right" |= Parameter 1 | ||
| [[Array]] | |||
| [[Array]] - format [componentClass, componentType] |= Return value | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1 = <code> | |||
|x1 = <code>[[infoPanel]] "left";</code> |= Example 1 | |||
| [[ | |||
| [[Arma 3 Custom Info]], [[infoPanels]], [[setInfoPanel]], [[infoPanelComponents]], [[enableInfoPanelComponent]], [[infoPanelComponentEnabled]] |= See also | |||
}} | }} | ||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Command Group: Custom Panels]] |
Revision as of 22:53, 26 April 2018
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