Returns whether the pet UI should be displayed for the player's pet. Special quest-related pets, vehicles, and possessed units all count as pets but do not use the pet UI or associated functions.


See also Pet functions.

Signature:

hasPetUI, isHunterPet = HasPetUI()

Returns:

  • hasPetUI - 1 if the pet UI should be displayed for the player's pet (1nil)
  • isHunterPet - 1 if the player's pet is a hunter pet (1nil)