WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   3D item models (https://www.wowinterface.com/forums/showthread.php?t=59704)

lla 11-06-23 06:55 PM

3D item models
 
Hey,

I would like to ask is it possible to display only the item models (without the PlayerModel) for Character item slots?
Like for CharacterHeadSlot, CharacterChestSlot, CharacterLegsSlot etc..

I tried something like:
Quote:

local model = CreateFrame("PlayerModel")
model:SetPoint("CENTER")
model:SetSize(500, 500)
model:SetRotation(math.rad(50))
local itemID = GetInventoryItemID("player", 3)
model:SetItem(itemID)
But this only displays the weapon and shoulder models for some reason

Many thanks in advance.


All times are GMT -6. The time now is 03:43 AM.

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