Originally Posted by TOM_RUS
There's also SetCreature, SetItem, SetItemAppearance, SetDisplayInfo along with SetModel. Those API's cover a broad range of models. Also you don't need any GetXXX API's at all, since that widget only displays whatever you set to it, just store that information yourself somewhere.
|
The issue is that you won't be able to pair DisplayIDs with their proper model paths like this:
Lua Code:
local function ExtractModelData()
index = index + 1
print("Model: ", index)
model:ClearModel()
model:SetDisplayInfo(index)
if model:GetModel() and model:GetModel() ~= "" then
modelData[index] = model:GetModel()
end
end
Which kills the ability to categorize/use/select multi textured models.