setVehicleTIPars: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added detailed description/paramters, based on observation and https://resources.bisimulations.com/w/index.php?title=setVehicleTiPars)
(syntax example seealso)
Line 12: Line 12:
| vehicle '''setVehicleTiPars''' [engine, wheels, weapon] |= Syntax
| vehicle '''setVehicleTiPars''' [engine, wheels, weapon] |= Syntax


|p1= vehicle: [[Object]] - Vehicle whose components are manipulated.|=
|p1= vehicle: [[Object]] - Vehicle whose components are manipulated|=
|p2= engine: [[Number]] - TI heat for engine & body (0 - 1)|=
|p2= [engine, wheels, weapon]: [[Array]]
|p3= wheels: [[Number]] - TI heat for tracks or wheels (0 - 1)|=
|p3= engine: [[Number]] - TI heat for engine & body (0 - 1)|=
|p4= weapon: [[Number]] - TI heat for main weapon (0 - 1)|=
|p4= wheels: [[Number]] - TI heat for tracks or wheels (0 - 1)|=
|p5= weapon: [[Number]] - TI heat for main weapon (0 - 1)|=


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code> vehicle player '''setVehicleTiPars''' ["pars"]; </code> |=  
|x1= <code>[[vehicle]] [[player]] [[setVehicleTiPars]] [1,1,1];</code> |=  
____________________________________________________________________________________________
____________________________________________________________________________________________


|  |= See also
|[[disableTIEquipment]], [[setCamUseTI]] |= See also
}}
}}



Revision as of 19:50, 8 April 2017

Hover & click on the images for description

Description

Description:
Sets the "heat" state of different vehicle parts (for TI detection). This allows simulation of heated up parts of a vehicle without it actually having to utilize them. (0: cold, 1: hot)
Groups:
Uncategorised

Syntax

Syntax:
vehicle setVehicleTiPars [engine, wheels, weapon]
Parameters:
vehicle: Object - Vehicle whose components are manipulated
[engine, wheels, weapon]: Array
engine: Number - TI heat for engine & body (0 - 1)
wheels: Number - TI heat for tracks or wheels (0 - 1)
weapon: Number - TI heat for main weapon (0 - 1)
Return Value:
Nothing

Examples

Example 1:
vehicle player setVehicleTiPars [1,1,1];

Additional Information

See also:
disableTIEquipmentsetCamUseTI

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

Notes

Bottom Section