[DiscordArchive] did you try player info?
[DiscordArchive] did you try player info?
Archived author: Dep • Posted: 2022-03-15T12:03:32.432000+00:00
Original source
did you try player info?
Archived author: helenah1734 • Posted: 2022-03-15T12:05:22.111000+00:00
Original source
Go up to it, it's important it's the cloest model to you and type ".gobject near", that's if you run TrinityCore otherwise I do not know but basically that command retrieves information about the nearest game object.
Archived author: helenah1734 • Posted: 2022-03-15T12:05:33.914000+00:00
Original source
As for like... map stuff...
Archived author: helenah1734 • Posted: 2022-03-15T12:05:36.779000+00:00
Original source
it won't do that.
Archived author: A2 • Posted: 2022-03-15T12:05:52.832000+00:00
Original source
y
Archived author: helenah1734 • Posted: 2022-03-15T12:06:46.124000+00:00
Original source
So if your model is a doodad or WMO then you're out of luck with that command. Saying "model" is kinda vague.
Archived author: A2 • Posted: 2022-03-15T12:06:52.537000+00:00
Original source
```lua
path = "creature/alexstrasza/alexstrasza.m2"
local frame = CreateFrame("Frame", nil, UIParent)
local model = CreateFrame("PlayerModel", nil, frame)
frame:SetPoint("Center", 200, 10)
frame:SetWidth(500)
frame:SetHeight(500)
model:SetAllPoints(frame)
model:SetFacing(1)
model:SetModel(path)
```
<@!124239821802700800>
Archived author: Hutchy • Posted: 2022-03-15T12:07:06.345000+00:00
Original source
pinfo doesn't show model info unfortunately