Arma 3 Scripting

Command in PhysX, Ropes and Sling Loading

getTowParent

Also available as Markdown and JSON, or read the original wiki page.

Description

Get the vehicle towing the provided one.

Syntax

getTowParent towedVehicle

Parameters:

Returns: Object - the object towing the provided object - objNull if not towed

Examples

Example 1

private _towParent = getTowParent _towedVehicle;

See also

setTowParent