How to get *textured* PlayerModel frame of shapeshift forms?
View Single Post
09-22-19, 06:22 PM
A Pyroguard Emberseer
Join Date: Mar 2010
Originally Posted by
After some research (particularly
), I am smarter now.
Using SetModel(fileID) seems to be pretty useless for any purpose I could think of.
What you need is SetDisplayInfo(displayID).
There are basically two ways of finding the displayID of your playerModelFrame:setUnit() created model:
If you know the name of what you are looking for, search for it in the
. (You will also find druid forms etc. there even though they are technically not NPCs.) Look at the model in the wowhead 3d model viewer, then inspect the model viewer's HTML source code in your browser and search for "displayId".
If you have no idea what to search for, do
on your playerModel frame. You can then look up the resulting fileID in a table like
). There you will find
displayIDs using this fileID. In the case of Ghostwolf (fileID 926251) there are actually 64 displayIDs using it. So you have to try them all until you find the one you are after.
I've fabricated a table for displayID to actualy filePath:
View Public Profile
Send a private message to Resike
Find More Posts by Resike