Arma 3 Scripting

Command in Unit Inventory

addGoggles

Also available as Markdown and JSON, or read the original wiki page.

Description

Create a new item and try to link it into goggles (glasses) slot.

Note

This command does not add NVGs, which are hmd slot items (see linkItem instead).

Syntax

unit addGoggles type

Parameters:

Returns: Nothing

Examples

Example 1

player addGoggles "G_Tactical_Clear";

Example 2

diver addGoggles "G_Diving";

See also

goggles · removeGoggles