setVehicleTIPars: Difference between revisions
Jump to navigation
Jump to search
Waffle SS. (talk | contribs) (Added detailed description/paramters, based on observation and https://resources.bisimulations.com/w/index.php?title=setVehicleTiPars) |
Killzone Kid (talk | contribs) (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= engine: [[Number]] - TI heat for engine & body (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 | |x1= <code>[[vehicle]] [[player]] [[setVehicleTiPars]] [1,1,1];</code> |= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See also | |[[disableTIEquipment]], [[setCamUseTI]] |= See also | ||
}} | }} | ||
Revision as of 19:50, 8 April 2017
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
Categories:
- Scripting Commands
- Introduced with Arma 2: Operation Arrowhead version 1.51
- Arma 2: Operation Arrowhead: New Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- ArmA 2 OA: New Scripting Commands List