Thread Tools Display Modes
Prev Previous Post   Next Post Next
07-31-18, 02:38 PM   #1
joeyo
An Aku'mai Servant
Join Date: Jan 2012
Posts: 31
make blizz frames appear when damaged

so i want to make the blizz player,target,and pet frames disapear when im out of combat but also have my player frame appear when im damaged.
so the code i have here can hide them out of combat but i dont know what to put to make it appear when im damaged also.

im also trying to make a toggle switch that if i need to make them visible i can press a macro to unhide and hide manually.

RegisterStateDriver(PlayerFrame,"visibility","[combat][exists] show; hide")
RegisterStateDriver(TargetFrame,"visibility","[combat][exists] show; hide")
RegisterStateDriver(PetFrame,"visibility","[combat,@pet,exists] show;hide")

thats what i got so far after searching the internet for a solution for hours.
help me o lua gods your my only hope.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » make blizz frames appear when damaged

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