shownHUD: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[\[[a-zA-Z0-9]+\]\][^ ]+) *\|x1=" to " |r1= $1 |x1=") |
BrettMayson (talk | contribs) mNo edit summary |
||
| (18 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
|1.52 | |version1= 1.52 | ||
|gr1= Interaction | |gr1= Interaction | ||
| Returns array of [[Boolean]]s corresponding to the visibility of various HUD elements (see extended [[showHUD]]). | |descr= Returns array of [[Boolean]]s corresponding to the visibility of various HUD elements (see extended [[showHUD]]). | ||
| | |s1= [[shownHUD]] | ||
|r1= [[Array]] | |r1= [[Array]] with [hud, info, radar, compass, direction, menu, group, cursors, panels, kills, icon3d] | ||
* hud: [[Boolean]] - show scripted HUD such as weapon crosshair, action menu and overlays created with [[cutRsc]] and [[titleRsc]] | |||
* 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 | |||
* icon3d: [[Boolean]] - (Optional, default [[false]]) show icons drawn with [[drawIcon3D]] even when the HUD is hidden | |||
|seealso= [[showHUD]] | |x1= <sqf>_hudStatus = shownHUD;</sqf> | ||
|x2= <sqf>shownHUD params ["_hud", "_info", "_radar", "_compass", "_direction", "_menu", "_group", "_cursors", "_panels", "_kills", "_icon3d"];</sqf> | |||
|seealso= [[showHUD]] [[shownMap]] [[visibleMap]] [[forceMap]] [[shownGPS]] [[shownWatch]] [[shownCompass]] [[shownUAVFeed]] | |||
}} | }} | ||
Latest revision as of 06:54, 4 April 2026
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]
- hud: Boolean - show scripted HUD such as weapon crosshair, action menu and overlays created with cutRsc and titleRsc
- 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
- icon3d: Boolean - (Optional, default false) show icons drawn with drawIcon3D even when the HUD is hidden
Examples
- Example 1:
- Example 2:
- shownHUD params ["_hud", "_info", "_radar", "_compass", "_direction", "_menu", "_group", "_cursors", "_panels", "_kills", "_icon3d"];
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note