{"name":"setVehicleTIPars","title":"setVehicleTIPars","type":"command","url":"https://community.bistudio.com/wiki/setVehicleTIPars","revid":348636,"updated":"2023-11-08T13:46:10Z","groups":["Object Manipulation"],"status":"ok","games":{"arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma2oa 1.50","arma3_since":"0.50","locality":{"argument":"global","effect":"local"},"description":"Sets the \"heat\" state of different vehicle parts for Thermal Imaging detection.\nThis 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.\n\n> [!NOTE]\n> This command does not work on infantry weapons.","syntaxes":[{"syntax":"vehicle setVehicleTIPars [engine, wheels, weapon]","params":[{"name":"vehicle","type":"Object","description":"vehicle whose components are manipulated","type_expr":"Object"},{"name":"engine","type":"Number","description":"engine and body's heat","type_expr":"Number"},{"name":"wheels","type":"Number","description":"tracks/wheels' heat","type_expr":"Number"},{"name":"weapon","type":"Number","description":"main weapon's heat","type_expr":"Number"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"vehicle"},"right":{"text":"[engine, wheels, weapon]"}}],"examples":[{"text":"```sqf\nvehicle player setVehicleTIPars [1, 1, 1];            // set all parts hot\nvehicle player setVehicleTIPars [0, 0, 0];            // set all parts cold\nvehicle player setVehicleTIPars [0.5, 0.5, 0.5];    // set all parts warm\n```","code":["vehicle player setVehicleTIPars [1, 1, 1];\t\t\t// set all parts hot\nvehicle player setVehicleTIPars [0, 0, 0];\t\t\t// set all parts cold\nvehicle player setVehicleTIPars [0.5, 0.5, 0.5];\t// set all parts warm"]},{"code":["vehicle player setVehicleTIPars [1, 0, 0]; // set the engine warm, perfect for winter"]}],"see_also":["disableTIEquipment","setCamUseTI"]}