getTowParent

From Bohemia Interactive Community
Revision as of 15:42, 28 February 2023 by Cat Harsis (talk | contribs) (2.12 released, no longer only dev branch)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Get the vehicle towing the provided one.
Groups:
Object ManipulationRopes 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:
private _towParent = getTowParent _towedvehicle;

Additional Information

See also:
setTowParent

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