Thread Tools Display Modes
Prev Previous Post   Next Post Next
05-24-13, 11:26 AM   #1
10leej
A Molten Giant
 
10leej's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2011
Posts: 583
Hide frame when pet leaves

So I know how to show/update a frame when the player's pet exists/enters, but how do I hide the frame when the pet leaves?

I figured I could call the same event for enter and leaves and run UnitExists("pet") but that did no good.

source code
__________________
Tweets YouTube Website
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Hide frame when pet leaves


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