infoPanels: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "[[Arma 3 " to "[[Arma 3: ") |
BrettMayson (talk | contribs) mNo edit summary |
||
| Line 20: | Line 20: | ||
|p21= unit: [[Object]] - the concerned vehicle | |p21= unit: [[Object]] - the concerned vehicle | ||
|p22= turretPath: [[ | |p22= turretPath: [[Turret Path]] - turret index | ||
|r2= [[Array]] - format [<nowiki/>[infoPanelId1, infoPanelShortcutId1], [infoPanelId2, infoPanelShortcutId2], ...]: | |r2= [[Array]] - format [<nowiki/>[infoPanelId1, infoPanelShortcutId1], [infoPanelId2, infoPanelShortcutId2], ...]: | ||
Latest revision as of 18:46, 3 April 2026
Description
- Description:
- Returns array all info panels configured for given object or object and turret path.
- Groups:
- Custom Panels
Syntax
- Syntax:
- infoPanels unit
- Parameters:
- unit: Object - the concerned vehicle
- Return Value:
- Array - format [[infoPanelId1, infoPanelShortcutId1], [infoPanelId2, infoPanelShortcutId2], ...]:
Alternative Syntax
- Syntax:
- infoPanels [unit, turretPath]
- Parameters:
- unit: Object - the concerned vehicle
- turretPath: Turret Path - turret index
- Return Value:
- Array - format [[infoPanelId1, infoPanelShortcutId1], [infoPanelId2, infoPanelShortcutId2], ...]:
Examples
- Example 1:
Additional Information
- See also:
- Arma 3: Custom Info infoPanel setInfoPanel infoPanelComponents enableInfoPanelComponent infoPanelComponentEnabled openGPS
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note