getTowParent: Difference between revisions
Lou Montana (talk | contribs) (Page creation) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.12 | |version1= 2.12 | ||
|arg= local | |arg= local | ||
|gr1= | |gr1= PhysX | ||
|gr2= Ropes and Sling Loading | |gr2= Ropes and Sling Loading | ||
| Line 19: | Line 17: | ||
|r1= [[Object]] - the object towing the provided object - [[objNull]] if not towed | |r1= [[Object]] - the object towing the provided object - [[objNull]] if not towed | ||
|x1= <sqf>private _towParent = getTowParent | |x1= <sqf>private _towParent = getTowParent _towedVehicle;</sqf> | ||
|seealso= [[setTowParent]] | |seealso= [[setTowParent]] | ||
}} | }} | ||
Latest revision as of 19:39, 19 January 2026
Description
- Description:
- Get the vehicle towing the provided one.
- Groups:
- PhysXRopes and Sling Loading
Syntax
- Syntax:
- getTowParent towedVehicle
- Parameters:
- towedVehicle: Object - the towed vehicle
- Return Value:
- Object - the object towing the provided object - objNull if not towed
Examples
- Example 1:
Additional Information
- See also:
- setTowParent
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note