WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Search/Requests (https://www.wowinterface.com/forums/forumdisplay.php?f=6)
-   -   3D Models (https://www.wowinterface.com/forums/showthread.php?t=43766)

eiszeit 07-24-12 04:21 AM

3D Models
 
I knew for about 2 years an addon existed which made movable 3D models/portraits of the target or any other unit. Anyone knows the name? I can't remember it. :/

I don't want to edit Phanx's oUF layout so that I can always update it w/o modify a sh*tload of lines :D

Haleth 07-24-12 05:30 AM

http://www.wowinterface.com/download...Advanced6.html

You could write your own addon though that simply loads after the layout and adds the portraits to it.

eiszeit 07-24-12 05:37 AM

Thanks.

Writing my own would be the best, I know. But last time I tried to make such kind of addon it doesn't really work. Dunno, I am not that pro in Lua. :X

Haleth 07-24-12 06:33 AM

You could probably do something like

Code:

hooksecurefunc(oUF, "Spawn", function(unit)
        if unit == "player" then
                -- your player unitframe now exists, so you can look for it and add things to it
        end
end)

That is, once oUF has loaded.

Might not be the best way though. You should probably follow the oUF plugins template for anything more serious, but then again, the layout would most likely have to support it.

eiszeit 07-24-12 06:40 AM

Thanks again, I'll try it all out when I am back home.


All times are GMT -6. The time now is 05:12 AM.

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