setVehicleTIPars
- Global argument
- Local effect
- Arma 3 v0.50
- First in Arma 2: Operation Arrowhead v1.50
Command · Markdown · JSON · original wiki page
Description
Sets the "heat" state of different vehicle parts for Thermal Imaging detection. This allows simulation of heated up parts of a vehicle without it actually having to utilize them - on a 0..1 range - 0 being cold, 1 being hot.
Note
This command does not work on infantry weapons.
Syntax
vehicle setVehicleTIPars [engine, wheels, weapon]
Parameters:
vehicle: Object - vehicle whose components are manipulatedengine: Number - engine and body's heatwheels: Number - tracks/wheels' heatweapon: Number - main weapon's heat
Returns: Nothing
Examples
Example 1
vehicle player setVehicleTIPars [1, 1, 1]; // set all parts hot
vehicle player setVehicleTIPars [0, 0, 0]; // set all parts cold
vehicle player setVehicleTIPars [0.5, 0.5, 0.5]; // set all parts warm
Example 2
vehicle player setVehicleTIPars [1, 0, 0]; // set the engine warm, perfect for winter