View Single Post
10-29-10, 01:53 PM   #6
Quokka
A Chromatic Dragonspawn
 
Quokka's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2005
Posts: 196
The events are

Code:
Panel1:SetScript("OnEvent", function(self, event, ...)
if event == "UNIT_ENTERED_VEHICLE" then
  -- some kg panel command here to hide
else
   -- some kg panel command here to show
end


Panel1:RegisterEvent('UNIT_ENTERED_VEHICLE')
Panel1:RegisterEvent('UNIT_EXITED_VEHICLE')
than something like this should work

If i understood Seerah right
__________________
  Reply With Quote