{"name":"setVehicleTIPars","operator":null,"title":"setVehicleTIPars","type":"command","url":"https://community.bistudio.com/wiki/setVehicleTIPars","revid":348636,"updated":"2023-11-08T13:46:10Z","groups":["Object Manipulation"],"status":"ok","replaced_by":[],"games":[{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},"arma3_since":"0.50","branch":null,"locality":{"argument":"global","effect":"local","server_exec":false},"exec":null,"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]","since":null,"effect":null,"exec":null,"params":[{"name":"vehicle","type":"Object","optional":false,"default":null,"description":"vehicle whose components are manipulated","types":["Object"],"since":null,"text":"vehicle: Object - vehicle whose components are manipulated"},{"name":"engine","type":"Number","optional":false,"default":null,"description":"engine and body's heat","types":["Number"],"since":null,"text":"engine: Number - engine and body's heat"},{"name":"wheels","type":"Number","optional":false,"default":null,"description":"tracks/wheels' heat","types":["Number"],"since":null,"text":"wheels: Number - tracks/wheels' heat"},{"name":"weapon","type":"Number","optional":false,"default":null,"description":"main weapon's heat","types":["Number"],"since":null,"text":"weapon: Number - main weapon's heat"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"vehicle","types":["Object"]},"right":{"text":"[engine, wheels, weapon]","types":["Array"]}}],"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"]},{"text":"```sqf\nvehicle player setVehicleTIPars [1, 0, 0]; // set the engine warm, perfect for winter\n```","code":["vehicle player setVehicleTIPars [1, 0, 0]; // set the engine warm, perfect for winter"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["disableTIEquipment","setCamUseTI"],"notes":[],"categories":["Arma 2: Operation Arrowhead: New Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 3: Scripting Commands","Command Group: Object Manipulation","Introduced with Arma 2: Operation Arrowhead version 1.50","Scripting Commands","Scripting Commands: Local Effect","Take On Helicopters: Scripting Commands"]}