goggles: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(description)
m (template:command argument fix)
Line 12: Line 12:
| '''goggles''' unit |= Syntax
| '''goggles''' unit |= Syntax


|p1= unit: [[Object]]  |= PARAMETER1  
|p1= unit: [[Object]]  |PARAMETER1=   


| [[String]] |= RETURNVALUE
| [[String]] |RETURNVALUE=  




|x1= <code>_goggles = [[goggles]] assaultDiver; //G_Diving
|x1= <code>_goggles = [[goggles]] assaultDiver; //G_Diving
</code>|= EXAMPLE1
</code>|EXAMPLE1=
   
   
|x2= <code>_goggles = [[goggles]] reconTeamLeader; //G_Shades_Black
|x2= <code>_goggles = [[goggles]] reconTeamLeader; //G_Shades_Black
</code>|= EXAMPLE2
</code>|EXAMPLE2=  


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[removeGoggles]], [[addGoggles]], [[hmd]], [[headgear]], [[binocular]] |= SEEALSO
| [[removeGoggles]], [[addGoggles]], [[hmd]], [[headgear]], [[binocular]] |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 11:33, 7 April 2019

Hover & click on the images for description

Description

Description:
Returns name of currently used goggles (for NVGoggles use hmd).
Groups:
Uncategorised

Syntax

Syntax:
goggles unit
Parameters:
unit: Object
Return Value:
String

Examples

Example 1:
_goggles = goggles assaultDiver; //G_Diving
Example 2:
_goggles = goggles reconTeamLeader; //G_Shades_Black

Additional Information

See also:
removeGogglesaddGoggleshmdheadgearbinocular

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

Notes

Bottom Section