removeGoggles: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(tested: argument is global, effect is global, note about locality removed. Please retest.)
m (template:command argument fix)
Line 16: Line 16:
| '''removeGoggles''' unit |= Syntax
| '''removeGoggles''' unit |= Syntax


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


| [[Nothing]] |= RETURNVALUE
| [[Nothing]] |RETURNVALUE=  




|x1= <code> [[removeGoggles]] assaultDiver;
|x1= <code> [[removeGoggles]] assaultDiver;
</code>|= EXAMPLE1
</code>|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[goggles]], [[addGoggles]] |= SEEALSO
| [[goggles]], [[addGoggles]] |SEEALSO=  


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

Revision as of 10:36, 7 April 2019

Hover & click on the images for description

Description

Description:
Removes goggles from unit (diver goggles for example). This command does not remove NVGoggles. Use unassignItem and removeItem or just unlinkItem for latter.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
removeGoggles assaultDiver;

Additional Information

See also:
gogglesaddGoggles

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