API UnitExists("pet") - WoWInterface
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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

WoWInterface » Developer Discussions » Lua/XML Help » API UnitExists("pet")

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off