WoW:API UnitAffectingCombat: Difference between revisions

→‎Details: changed terminology a bit
m (sp)
(→‎Details: changed terminology a bit)
Line 19: Line 19:
==Details==
==Details==


:Goes true when initiating combat.
:Returns true when initiating combat.
:Goes true if aggroed, even if enemy doesn't land a blow.
:Returns true if aggroed, even if enemy doesn't land a blow.
:If a hunter, then goes true shortly after pet enters combat.
:If a hunter, then returns true shortly after pet enters combat.
:If using timed spell such as aimed shot, goes true when spell fires (not during charge up).
:If using timed spell such as aimed shot, returns true when spell fires (not during charge up).
:Goes to false on death.
:Returns to false on death.
:Is false if the unit being checked for aggro is out of range, or in another zone.
:Returns false if the unit being checked for aggro 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: returns false if a unit is proximity-aggroed. It wont return true until it either attacks or is attacked.''




----
----
Anonymous user