disableTIEquipment: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (new scripting command, not yet in public build)
 
m (Text replacement - "\{\{Feature *\| *Informative *\| ([^↵]+) *\}\}" to "{{Feature|informative|$1}}")
 
(57 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


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


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


|arg= global |= Arguments in MP
|game3= arma3
____________________________________________________________________________________________
|version3= 0.50


| Disables TI equipment for given vehicle. |= Description
|arg= global
____________________________________________________________________________________________


| vehicle '''disableTIEquipment''' boolean |= Syntax
|eff= global


|p1= vehicle: [[Object]] |= Parameter 1
|gr1= Weapons


|p2= state: [[Boolean]] - true to turn the engine on, false to turn it off |= Parameter 2
|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.}}


booleanValue: Boolean - desc
|s1= vehicle [[disableTIEquipment]] state
____________________________________________________________________________________________
 
|x1= <code>vehicle player '''disableTIEquipment''' true</code> |= Example 1
|x2= <code>_tank '''disableTIEquipment''' true</code> |= Example 2
____________________________________________________________________________________________


| |= See also
|p1= vehicle: [[Object]]


}}
|p2= state: [[Boolean]] - true to turn TI off, false to turn TI on
 
|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:ArmA 2 OA: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
|seealso=  [[equipmentDisabled]] [[disableNVGEquipment]] [[currentVisionMode]] [[setCamUseTI]] [[camUseNVG]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 19: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