View Single Post
07-03-16, 02:55 AM   #62
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Originally Posted by Ketho View Post
But my question is, why does playermodel:GetDisplayInfo() return 0 after running playermodel:SetUnit("target") ?
Is it even possible to get a displayId from a specific unitId?
You can't get the model's path if it's set by SetUnit simply because it's no gonna create a model that exists in the game files, but simply gonna clone the looks of the model the unitid points to, with every armor/weapons equipped and/or apperance changing buffs.