Arma 3 Scripting

getTowParent

  • Local argument
  • Arma 3 v2.12

Command · also in Ropes and Sling Loading · Markdown · JSON · 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