disableTIEquipment: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "")
m (Text replacement - "\{\{Feature *\| *Informative *\| ([^↵]+) *\}\}" to "{{Feature|informative|$1}}")
 
(10 intermediate revisions by 2 users not shown)
Line 17: Line 17:


|descr= Disables TI (Thermal Imaging) equipment for given vehicle.
|descr= Disables TI (Thermal Imaging) equipment for given vehicle.
{{Feature | Informative | In older versions of Arma this command would also disable NV (Night Vision), but since Arma 3 v1.54 this command disables only TI. Use [[disableNVGEquipment]] to disable NV.}}
{{Feature|informative|In older versions of Arma this command would also disable NV (Night Vision), but since Arma 3 v1.54 this command disables only TI. Use [[disableNVGEquipment]] to disable NV.}}


|s1= vehicle [[disableTIEquipment]] state
|s1= vehicle [[disableTIEquipment]] state


|p1= vehicle: [[Object]]
|p1= vehicle: [[Object]]
Line 25: Line 25:
|p2= state: [[Boolean]] - true to turn TI off, false to turn TI on
|p2= state: [[Boolean]] - true to turn TI off, false to turn TI on


|r1=[[Nothing]]
|r1= [[Nothing]]


|x1= <code>[[vehicle]] [[player]] [[disableTIEquipment]] [[true]];</code>
|x1= <sqf>vehicle player disableTIEquipment true;</sqf>


|x2= <code>_tank [[disableTIEquipment]] [[true]];</code>
|x2= <sqf>_tank disableTIEquipment true;</sqf>


|seealso= [[setCamUseTI]], [[camUseNVG]], [[disableNVGEquipment]], [[currentVisionMode]]
|seealso= [[equipmentDisabled]] [[disableNVGEquipment]] [[currentVisionMode]] [[setCamUseTI]] [[camUseNVG]]
}}
}}

Latest revision as of 18:11, 15 March 2024

Hover & click on the images for description

Description

Description:
Disables TI (Thermal Imaging) equipment for given vehicle.
In older versions of Arma this command would also disable NV (Night Vision), but since Arma 3 v1.54 this command disables only TI. Use disableNVGEquipment to disable NV.
Groups:
Weapons

Syntax

Syntax:
vehicle disableTIEquipment state
Parameters:
vehicle: Object
state: Boolean - true to turn TI off, false to turn TI on
Return Value:
Nothing

Examples

Example 1:
vehicle player disableTIEquipment true;
Example 2:
_tank disableTIEquipment true;

Additional Information

See also:
equipmentDisabled disableNVGEquipment currentVisionMode setCamUseTI camUseNVG

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