disableTIEquipment: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2")
m (Text replacement - "\{\{Feature *\| *Informative *\| ([^↵]+) *\}\}" to "{{Feature|informative|$1}}")
 
(34 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma2oa |Game name=
|game1= arma2oa
|version1= 1.54


|1.54|Game version=
|game2= tkoh
|version2= 1.00


|arg= global |Multiplayer Arguments=
|game3= arma3
|version3= 0.50


|eff= global |Multiplayer Effects=
|arg= global
____________________________________________________________________________________________


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


| vehicle [[disableTIEquipment]] state |SYNTAX=
|gr1= Weapons


|p1= vehicle: [[Object]] |PARAMETER1=
|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.}}


|p2= state: [[Boolean]] - true to turn TI off, false to turn TI on |PARAMETER2=
|s1= vehicle [[disableTIEquipment]] state


| [[Nothing]] |RETURNVALUE=
|p1= vehicle: [[Object]]
____________________________________________________________________________________________
 
|x1= <code>[[vehicle]] [[player]] [[disableTIEquipment]] [[true]];</code> |EXAMPLE1=


|x2= <code>_tank [[disableTIEquipment]] [[true]];</code> |EXAMPLE2=
|p2= state: [[Boolean]] - true to turn TI off, false to turn TI on
____________________________________________________________________________________________


| [[setCamUseTI]], [[camUseNVG]], [[disableNVGEquipment]], [[currentVisionMode]] |SEEALSO=
|r1= [[Nothing]]
}}


<h3 style="display:none">Notes</h3>
|x1= <sqf>vehicle player disableTIEquipment true;</sqf>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>


<h3 style="display:none">Bottom Section</h3>
|x2= <sqf>_tank disableTIEquipment true;</sqf>


[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
|seealso=  [[equipmentDisabled]] [[disableNVGEquipment]] [[currentVisionMode]] [[setCamUseTI]] [[camUseNVG]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
}}
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

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