Difference between revisions of "getAttackTarget"
Jump to navigation
Jump to search
m (Update) |
killzone_kid (talk | contribs) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | | Returns | + | | Returns the target given unit is engaging. |DESCRIPTION= |
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 17: | Line 17: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | |x1= <code> | + | |x1= <code>_theEnemyWhoHesEngaging = [[getAttackTarget]] unit;</code> |Example1= |
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 16:01, 21 August 2020
Description
- Description:
- Returns the target given unit is engaging.
- Groups:
- Uncategorised
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
[[Category:Introduced with arma3dev version 1.99]][[ Category: arma3dev: New Scripting Commands | GETATTACKTARGET]][[ Category: arma3dev: Scripting Commands | GETATTACKTARGET]]
Notes
Bottom Section