Quantcast
WoWInterface - View Single Post - PlayerModel:SetDisplayInfo
View Single Post
05-13-16, 11:23 AM   #3
maqjav
A Cyclonian
Join Date: Feb 2012
Posts: 49
Originally Posted by semlar View Post
SetDisplayInfo was added specifically to display models without requiring them to be cached; what code are you using to test this?

Hello, I was just playing with the next code:
Code:
myFrame:modelFrame = _G.CreateFrame("PlayerModel", "mxpplayermodel", myFrame)
myFrame.modelFrame:SetHeight(120)
myFrame.modelFrame:SetDisplayInfo(26711)
myFrame.modelFrame:Show()
The ID 26711 belongs to the Time-Lost Proto-Drake.

It didn't work before, but after restarting the game it started working. I've used different IDs and it seems to work only sometimes, perhaps it's a little bit buggy right now?

False alarm though

Last edited by maqjav : 05-13-16 at 11:29 AM.