shownHUD: Difference between revisions

From Bohemia Interactive Community
mNo edit summary
(Add params example)
Line 8: Line 8:
|descr= 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'''
|s1= [[shownHUD]]


|r1= [[Array]] of [[Boolean]]s in format [hud, info, radar, compass, direction, menu, group, cursors, panels, kills, icon3d]
|r1= [[Array]] of [[Boolean]]s in format [hud, info, radar, compass, direction, menu, group, cursors, panels, kills, icon3d]


|x1= <sqf>_hudStatus = shownHUD;</sqf>
|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]]
|seealso= [[showHUD]] [[shownMap]] [[visibleMap]] [[forceMap]] [[shownGPS]] [[shownWatch]] [[shownCompass]] [[shownUAVFeed]]
}}
}}

Revision as of 15:35, 19 January 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 of Booleans in format [hud, info, radar, compass, direction, menu, group, cursors, panels, kills, icon3d]

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