setInfoPanel

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.72
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.72

Description

Description:
Opens given component or first component of given component type on specified info panel.

Syntax

Syntax:
setInfoPanel [infopanelId, componentClassOrType];
Parameters:
infoPanelId: String - info panel classname, or "left" or "right"
componentClassOrType: String
Return Value:
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)

Examples

Example 1:
//opens slingload assistant on right panel _result = setInfoPanel ["VehicleSystemsDisplayManagerComponentRight", "SlingLoadDisplayComponent"];

Additional Information

Multiplayer:
-
See also:
Arma 3 Custom InfoinfoPanelinfoPanelsinfoPanelComponentsenableInfoPanelComponentinfoPanelComponentEnabled

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section