disableNVGEquipment: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
No edit summary
 
(33 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma3 |= Game name
|game1= arma3
|1.52|= Game version
|version1= 1.52
|arg= global |=
|arg= global
|eff= global |=
|eff= global
____________________________________________________________________________________________


| Enables or disables transport NV (Night Vision). To disable TI (Thermal Imaging) use [[disableTIEquipment]]. |= Description
|gr1= Weapons
____________________________________________________________________________________________


| vehicle '''disableNVGEquipment''' state|= Syntax
|descr= Enables or disables transport NV (Night Vision). To disable TI (Thermal Imaging) use [[disableTIEquipment]].


|p1= vehicle: [[Object]] |PARAMETER1=
|s1= vehicle [[disableNVGEquipment]] state


|p2= state: [[Boolean]] |PARAMETER2=
|p1= vehicle: [[Object]]


| [[Nothing]] |RETURNVALUE=
|p2= state: [[Boolean]]


|r1= [[Nothing]]


|x1= <code>myTank [[disableNVGEquipment]] [[true]];</code>|EXAMPLE1=
|x1= <sqf>myTank disableNVGEquipment true;</sqf>
____________________________________________________________________________________________


| [[disableTIEquipment]] |SEEALSO=
|seealso= [[equipmentDisabled]] [[disableTIEquipment]]
 
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<!-- DISCONTINUE Notes -->
<h3 style='display:none'>Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 20:13, 31 December 2022

Hover & click on the images for description

Description

Description:
Enables or disables transport NV (Night Vision). To disable TI (Thermal Imaging) use disableTIEquipment.
Groups:
Weapons

Syntax

Syntax:
vehicle disableNVGEquipment state
Parameters:
vehicle: Object
state: Boolean
Return Value:
Nothing

Examples

Example 1:
myTank disableNVGEquipment true;

Additional Information

See also:
equipmentDisabled disableTIEquipment

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