shownHUD: Difference between revisions

From Bohemia Interactive Community
(Add params example)
mNo edit summary
Line 10: Line 10:
|s1= [[shownHUD]]
|s1= [[shownHUD]]


|r1= [[Array]] of [[Boolean]]s in format [hud, info, radar, compass, direction, menu, group, cursors, panels, kills, icon3d]
|r1= [[Array]] with [hud, info, radar, compass, direction, menu, group, cursors, panels, kills, icon3d]
* scriptedHUD: [[Boolean]] - show scripted HUD such as weapon crosshair, action menu and overlays created with [[cutRsc]] and [[titleRsc]]. Same as [[showHUD]]'s first syntax
* info: [[Boolean]] - (Optional, default [[true]]) show vehicle, soldier and weapon info
* radar: [[Boolean]] - (Optional, default [[true]]) show vehicle radar
* compass: [[Boolean]] - (Optional, default [[true]]) show vehicle compass
* direction: [[Boolean]] - (Optional, default [[true]]) show tank direction indicator. Not present in vanilla {{arma3}}
* menu: [[Boolean]] - (Optional, default [[true]]) show commanding menu (HC related menus)
* group: [[Boolean]] - (Optional, default [[true]]) show group info bar (Squad leader info bar)
* cursors: [[Boolean]] - (Optional, default [[true]]) show HUD weapon cursors (connected with scripted HUD)
* panels: [[Boolean]] - (Optional, default [[true]]) show [[Arma 3: Custom Info]]
* kills: [[Boolean]] - (Optional, default [[true]]) show "x killed by y" [[systemChat]] messages
* showIcon3D: [[Boolean]] - (Optional, default [[false]]) show icons drawn with [[drawIcon3D]] even when the HUD is hidden
 


|x1= <sqf>_hudStatus = shownHUD;</sqf>
|x1= <sqf>_hudStatus = shownHUD;</sqf>

Revision as of 06:53, 4 April 2026

Hover & click on the images for description

Description

Description:
Returns array of Booleans corresponding to the visibility of various HUD elements (see extended showHUD).
Groups:
Interaction

Syntax

Syntax:
shownHUD
Return Value:
Array with [hud, info, radar, compass, direction, menu, group, cursors, panels, kills, icon3d]
  • scriptedHUD: Boolean - show scripted HUD such as weapon crosshair, action menu and overlays created with cutRsc and titleRsc. Same as showHUD's first syntax
  • info: Boolean - (Optional, default true) show vehicle, soldier and weapon info
  • radar: Boolean - (Optional, default true) show vehicle radar
  • compass: Boolean - (Optional, default true) show vehicle compass
  • direction: Boolean - (Optional, default true) show tank direction indicator. Not present in vanilla Arma 3
  • menu: Boolean - (Optional, default true) show commanding menu (HC related menus)
  • group: Boolean - (Optional, default true) show group info bar (Squad leader info bar)
  • cursors: Boolean - (Optional, default true) show HUD weapon cursors (connected with scripted HUD)
  • panels: Boolean - (Optional, default true) show Arma 3: Custom Info
  • kills: Boolean - (Optional, default true) show "x killed by y" systemChat messages
  • showIcon3D: Boolean - (Optional, default false) show icons drawn with drawIcon3D even when the HUD is hidden

Examples

Example 1:
_hudStatus = shownHUD;
Example 2:
shownHUD params ["_hud", "_info", "_radar", "_compass", "_direction", "_menu", "_group", "_cursors", "_panels", "_kills", "_icon3d"];

Additional Information

See also:
showHUD shownMap visibleMap forceMap shownGPS shownWatch shownCompass shownUAVFeed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note