setInfoPanel: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
Lou Montana (talk | contribs) m (Text replacement - "\{\{ *codecomment *\| *\/\/ *([^ ]+) *\}\} " to "{{cc|$1}}") |
||
Line 17: | Line 17: | ||
| [[Boolean]] - [[true]] if panel was successfully opened, [[false]] otherwise (e.g. opening GPS on player without GPS item or setting panel to vehicle that doesn't have such capability configured) | | [[Boolean]] - [[true]] if panel was successfully opened, [[false]] otherwise (e.g. opening GPS on player without GPS item or setting panel to vehicle that doesn't have such capability configured) | ||
|x1 = <code>{{ | |x1 = <code>{{cc|opens slingload assistant on right panel}}_result = [[setInfoPanel]] ["VehicleSystemsDisplayManagerComponentRight", "SlingLoadDisplayComponent"];</code> | ||
_result = [[setInfoPanel]] ["VehicleSystemsDisplayManagerComponentRight", "SlingLoadDisplayComponent"];</code> | |||
| [[Arma 3 Custom Info]], [[infoPanel]], [[infoPanels]], [[infoPanelComponents]], [[enableInfoPanelComponent]], [[infoPanelComponentEnabled]] | | [[Arma 3 Custom Info]], [[infoPanel]], [[infoPanels]], [[infoPanelComponents]], [[enableInfoPanelComponent]], [[infoPanelComponentEnabled]] |
Revision as of 16:33, 29 January 2021
Description
- Description:
- Description needed
- Groups:
- Custom Panels
Syntax
- Syntax:
- Syntax needed
- Parameters:
- infoPanelId: String - info panel classname, or "left" or "right"
- componentClassOrType: String
- Return Value:
- Return value needed
Examples
- Example 1:
// opens slingload assistant on right panel_result = setInfoPanel ["VehicleSystemsDisplayManagerComponentRight", "SlingLoadDisplayComponent"];
Additional Information
- See also:
- See also needed
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