setTowParent: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Add getTowParent seealso link) |
Lou Montana (talk | contribs) m (Fix local arg based on Omon XR feedback (on Discord)) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
|version1= 2.06 | |version1= 2.06 | ||
|arg= global | |arg= local | ||
|eff= global | |||
|descr= | |||
|descr= | |||
{{{!}} class="wikitable float-right align-center-col-2 align-center-col-3" | {{{!}} class="wikitable float-right align-center-col-2 align-center-col-3" | ||
! Simulation | ! Simulation | ||
Line 49: | Line 29: | ||
{{!}} {{Icon|unchecked}} | {{!}} {{Icon|unchecked}} | ||
{{!}}} | {{!}}} | ||
Allows a vehicle to be towed by another. This loosens the towed vehicle's brakes and turns its steering wheels toward the towing vehicle. | Allows a vehicle to be towed by another. This loosens the towed vehicle's brakes and turns its steering wheels toward the towing vehicle. | ||
Supposed to be used together with a rope connecting both vehicles. | Supposed to be used together with a rope connecting both vehicles. | ||
|mp= {{Feature|warning| | |mp= {{Feature|warning| | ||
If a [[player]] enters the | If a [[player]] enters the towing vehicle, the towed one will try to change its locality to be local to that [[player]].<!-- | ||
--> This might be problematic if there is another [[player]] already in the | --> This might be problematic if there is another [[player]] already in the towed vehicle.<!-- | ||
--> It is recommended to not have anyone in the | --> It is recommended to not have anyone in the towed vehicle! | ||
}} | }} | ||
Latest revision as of 20:09, 1 April 2024
Description
- Description:
-
Simulation Towable Can Tow CarX TankX AirplaneX BoatX Allows a vehicle to be towed by another. This loosens the towed vehicle's brakes and turns its steering wheels toward the towing vehicle.
Supposed to be used together with a rope connecting both vehicles. - Multiplayer:
- Groups:
- Object ManipulationRopes and Sling Loading
Syntax
- Syntax:
- towedVehicle setTowParent towingVehicle
- Parameters:
- towedVehicle: Object - vehicle of type CarX (no tanks, no aircrafts, no boats)
- towingVehicle: Object - vehicle of type CarX or TankX (no aircrafts, no boats)
- Return Value:
- Nothing
Examples
- Example 1:
Additional Information
- See also:
- getTowParent ropeCreate
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