Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:3.2

Description

Description:

Returns a target that was locked on, using setVehicleLockTarget.

Note: Manually locked targets (using the command menu) are not considered by this command.

Syntax

Syntax:getVehicleLockTarget unit
Parameters:
  • unit: Object - Unit, or vehicle with lockable weapon.
Return Value:Target - Target that was locked, or objNull.

Examples

Examples:
_target = getVehicleLockTarget soldierW1

Additional Information

See also: setVehicleLockTarget
Multiplayer: 
Problems: 

Notes