getAttackTarget

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 2.002.00
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

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section