WoW:API UnitAffectingCombat: Difference between revisions

m
Cleaned up a bit
m (Cleaned up a bit)
Line 1: Line 1:
{{wowapi}} __NOTOC__
<center>'''UnitAffectingCombat''' ''-Documentation by [[user:Flickering|Flickering]]-''</center>
<center>'''UnitAffectingCombat''' ''-Documentation by [[user:Flickering|Flickering]]-''</center>


Line 12: Line 14:


=== Returns ===
=== Returns ===
;''Returns''
:affectingCombat


:;affectingCombat : Flag - Returns 1 if the unit is in combat or has aggro, nil otherwise.
:;affectingCombat : Flag - Returns 1 if the unit is in combat or has aggro, nil otherwise.
Line 25: Line 25:
:Goes to false on death.
:Goes to false on death.
:Is false if the unit being checked for agro is out of range, or in another zone.
:Is false if the unit being checked for agro is out of range, or in another zone.
-note- remains false if a unit is proximity-aggroed. It wont go true until it either attacks or is attacked.
''Note: remains false if a unit is proximity-aggroed. It wont go true until it either attacks or is attacked.''




----
----
{{WoW API}}
Anonymous user