WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   oUF (Otravi Unit Frames) (https://www.wowinterface.com/forums/forumdisplay.php?f=87)
-   -   Vehicle Frame replacement (https://www.wowinterface.com/forums/showthread.php?t=57365)

Caedilla 08-17-19 07:56 PM

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.

lightspark 08-17-19 09:59 PM

Yes :D

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

Lua Code:
  1. YourPlayerFrame:SetAttribute('toggleForVehicle', false)
  2. YourPetFrame:SetAttribute('toggleForVehicle', false)

Caedilla 08-17-19 11:49 PM

Ah, I didn't even think to look at blizzard's API for this!

Thanks, it works perfectly :D


All times are GMT -6. The time now is 09:28 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI