WoWInterface - View Single Post - API UnitExists("pet")
View Single Post
12-28-19, 06:11 PM   #1
A Flamescale Wyrmkin
Join Date: Feb 2018
Posts: 133
API UnitExists("pet")


I use API UnitExists("pet") (https://wow.gamepedia.com/API_UnitExists) to check if my pet exists, if it's dead, or dismissed. Unfortunately I have discovered that it returns false both when the pet is dead or dismissed.

Is there a way to determine if it's dead or dismissed ?
  Reply With Quote