getAttackTarget

From Bohemia Interactive Community
Revision as of 16:38, 9 July 2020 by POLPOX (talk | contribs) (Update)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.99|1.99]]
Hover & click on the images for description

Description

Description:
Returns a unit's assigned/engaging target.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
_theEnemyWhoHesAimingAt = getAttackTarget unit;

Additional Information

See also:
assignedTarget

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

[[Category:Introduced with arma3dev version 1.99]][[ Category: arma3dev: New Scripting Commands | GETATTACKTARGET]][[ Category: arma3dev: Scripting Commands | GETATTACKTARGET]]

Notes

Bottom Section