API UnitIsDead

Revision as of 18:15, January 6, 2007 by Hobinbot (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
104,156pages on
this wiki
WoW API < UnitIsDead

Very useful to determine if a mod should be doing something if "unit" is dead.

Returns 1 if "unit" is dead, nil otherwise.

Information from UnitIsDeadOrGhost("unit"):

Does not work for ("pet") unless the pet bar is still active. Not sure why the petbar stays active when the pet dies -- it used to gray out, now it will disappear after some time or some event happens, but not immediately when the pet dies. -- 5/29/2006

Around Wikia's network

Random Wiki