Description
Returns the target given unit is engaging.
Syntax
getAttackTarget unit
Parameters:
unit: Object
Returns: Object
Examples
Example 1
private _unitsTarget = getAttackTarget _unit;
Command in Object Manipulation
Also available as Markdown and JSON, or read the original wiki page.
Returns the target given unit is engaging.
getAttackTarget unit
Parameters:
unit: ObjectReturns: Object
private _unitsTarget = getAttackTarget _unit;