removeHeadgear

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 0.50
  Arguments of this scripting command don't have to be local to the client the command is executed onEffects of this scripting command are broadcasted over the network and happen on every computer in the network

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
0.50

Description

Description:
Removes headgear from a unit. If unit has no headgear command quietly fails.

Syntax

Syntax:
removeHeadgear unit
Parameters:
unit: Object
Return Value:
Nothing

Examples

Example 1:
removeHeadgear player;

Additional Information

Multiplayer:
-
See also:
headgearaddHeadgear

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section

Posted on August 5, 2016 - 16:08 (UTC)
Lucky44
To clarify, this command effectively DELETES the headgear. It does not simply remove it from unit's head and move it into inventory.