Description
Returns the target given unit is engaging.
Syntax
getAttackTarget unit
Parameters:
unit: Object
Returns: Object
Examples
Example 1
private _unitsTarget = getAttackTarget _unit;
Results appear below as you type; use the arrow keys to move through them.
Returns the target given unit is engaging.
getAttackTarget unit
Parameters:
unit: ObjectReturns: Object
private _unitsTarget = getAttackTarget _unit;