equipmentDisabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{RV|type=command |game1= arma3 |version1= 2.12 |gr1= Object Manipulation |descr= Returns current state for NVG and TI equipment availability. |s1= equipmentDisabled v...")
 
m (2.12 released, no longer only dev branch)
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 2.12
|version1= 2.12
|arg= global


|gr1= Object Manipulation
|gr1= Object Manipulation
Line 14: Line 16:
|r1= [[Array]] in format [NVG, TI]
|r1= [[Array]] in format [NVG, TI]


|x1= <sqf>_spd = getForcedSpeed _heli;</sqf>
|x1= <sqf>equipmentDisabled tank1 params ["_nvg", "_ti"];</sqf>


|seealso= [[disableNVGEquipment]] [[disableTIEquipment]]
|seealso= [[disableNVGEquipment]] [[disableTIEquipment]]
}}
}}

Latest revision as of 15:44, 28 February 2023

Hover & click on the images for description

Description

Description:
Returns current state for NVG and TI equipment availability.
Groups:
Object Manipulation

Syntax

Syntax:
equipmentDisabled vehicle
Parameters:
vehicle: Object
Return Value:
Array in format [NVG, TI]

Examples

Example 1:
equipmentDisabled tank1 params ["_nvg", "_ti"];

Additional Information

See also:
disableNVGEquipment 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