hmd

From Bohemia Interactive Community
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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 doesn't immediately 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