Thread: Vehicle testing
View Single Post
04-16-09, 02:16 PM   #3
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
Hmm, but I am spawning a petframe already.

Disabling the PetCastBar does the trick though.

Code:
  
        --disable the vehicle castbar
	PetCastingBarFrame:UnregisterAllEvents()
	PetCastingBarFrame.Show = function() end
	PetCastingBarFrame:Hide()
Maybe you can test it yourself at this daily quest (Wyrmm temple defense). The player is switched to the pet correctly but the petcastbar becomes visible upon that point.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)

Last edited by zork : 04-16-09 at 02:25 PM.
  Reply With Quote