Difference between revisions of "getAttackTarget"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (2.00 update)
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}")
Line 35: Line 35:
  
 
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
+
{{GameCategory|arma3|Scripting Commands}}
  
 
<!-- CONTINUE Notes -->
 
<!-- CONTINUE Notes -->
 
<!-- DISCONTINUE Notes -->
 
<!-- DISCONTINUE Notes -->

Revision as of 03:27, 8 January 2021

Hover & click on the images for description

Description

Description:
Returns the target given unit is engaging.
Groups:
Object Manipulation

Syntax

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

Examples

Example 1:
_theEnemyWhoHesEngaging = 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

Notes

Bottom Section