hmd unitName

Operand types

unitName: Object

Type of returned value

Description

Returns class name of currently used Head Mounted Display.

NOTE:
'currently used' is misleading, for example NVGoggles only have to be in soldier's inventory for this command to return "NVGoggles"..

Used In

Arma3

Example

hmd player;
// when player has NVG in inventory returns "NVGoggles"
Search OFPEC COMREF