Thread Tools Display Modes
08-17-19, 07:56 PM   #1
Caedilla
Guest
Posts: n/a
Vehicle Frame replacement

Is there a way to stop oUF from replacing the player frame with the vehicle one entering a vehicle, and swapping the player to the pet frame?

I'd like to have the pet frame become my vehicle frame if it's possible, but I'm not sure how.
  Reply With Quote
08-17-19, 09:59 PM   #2
lightspark
A Rage Talon Dragon Guard
 
lightspark's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2012
Posts: 341
Yes

Set the "toggleForVehicle" attribute to false on your pet and player frames.

Lua Code:
  1. YourPlayerFrame:SetAttribute('toggleForVehicle', false)
  2. YourPetFrame:SetAttribute('toggleForVehicle', false)
__________________
  Reply With Quote
08-17-19, 11:49 PM   #3
Caedilla
Guest
Posts: n/a
Ah, I didn't even think to look at blizzard's API for this!

Thanks, it works perfectly
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Vehicle Frame replacement

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