Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Register
Advertisement

Returns true if the unit is dead or in ghost form.

isDeadOrGhost = UnitIsDeadOrGhost(unit)

Arguments[]

unit
string : UnitId

Returns[]

isDeadOrGhost
boolean - true if the unit is dead or in ghost form

Details[]

  • Effectively combines UnitIsDead and UnitIsGhost, returning true if either of those functions would return true.
  • Does not work for despawned pet units. (A pet is "despawned" once its corpse is no longer targetable in the game world, or its action bar is no longer visible on its owner's screen.)
  • Returns false for priests who are currently in Inv enchant essenceeternallarge [Spirit of Redemption] form, having died once and are about to die again.

See also[]

Advertisement