getAttackTarget

From Bohemia Interactive Community
Jump to navigation Jump to search
Hover & click on the images for descriptions

Description

Description:
Returns the target given unit is engaging.

Syntax

Syntax:
getAttackTarget unit
Parameters:
unit - Object
Return Value:
Object

Examples

Example 1:
_theEnemyWhoHesEngaging = getAttackTarget unit;

Additional Information

See also:
assignedTarget
Groups:
Object Manipulation

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note