hmd

From Bohemia Interactive Community
Revision as of 13:01, 26 August 2023 by Killzone Kid (talk | contribs)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns class name of currently used Head Mounted Display. Returns an empty string if the slot is empty.
If hmd returns "" this doesnt immediatly mean unit has no hmd, some items like Special Helmet ("H_HelmetO_ViperSP_ghex_F") can have built-in hmd so you might want to check the type of headgear as well
Groups:
Unit Inventory

Syntax

Syntax:
hmd unit
Parameters:
unit: Object
Return Value:
String

Examples

Example 1:
_nvgs = hmd player; //NVGoggles

Additional Information

See also:
headgear goggles binocular

Notes

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