Warning: file_put_contents(/ff_8fd1a4ed5cc87d75a83729df7b2e0130eaa351a9d6e4051f.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
hmd - OFPEC Scripting Command Reference | OFPEC The Editing Center

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"

Advertisement