View Single Post
Old 11-20-12, 05:20 PM   #9
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,025
well zorks idea kinda works.

It flashes up very briefly with the buttons. So quickly I haven't been able to get a screenshot. Then the buttons disappear leaving the leave button there.

For your info nUI uses macro conditonals for visibility.


I changed nUI's line in the possesbar.lua file from:
RegisterStateDriver( frame, "visibility", "[bonusbar:5] show; hide" );
to
RegisterStateDriver(frame,"visibility","[possessbar][possessbar,@vehicle,exists] show; hide")

I then tried to change it to
RegisterStateDriver(frame,"visibility","[possessbar][overridebar,@vehicle,exists] show; hide")

But no visual difference but managed to take a screenshot before it disappeared.

Tried some changes but a line as simple as
RegisterStateDriver(frame,"visibility","[possessbar,@vehicle,exists] show; hide")

Did the exact same thing.
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_112012_233621.jpg
Views:	334
Size:	209.8 KB
ID:	7400  
__________________
Xrystal is offline