[DiscordArchive] how does adding a custom background image to a frame work?
[DiscordArchive] how does adding a custom background image to a frame work?
Archived author: Tehnix • Posted: 2024-08-28T19:29:39.898000+00:00
Original source
how does adding a custom background image to a frame work?
Archived author: Yakumo • Posted: 2024-08-28T19:57:06.698000+00:00
Original source
```lua
frame:SetBackdrop(
{
bgFile = "",
})
```
Archived author: Yakumo • Posted: 2024-08-28T19:58:00.999000+00:00
Original source
https://wowpedia.fandom.com/wiki/API_Frame_SetBackdrop
[Embed: API Frame SetBackdrop]
Sets the backdrop texture of a frame.
https://wowpedia.fandom.com/wiki/API_Frame_SetBackdrop
Archived author: Tehnix • Posted: 2024-08-28T19:58:53.585000+00:00
Original source
thanks! Do you happen to know what kind of size a custom image can have? and in which mpq to put the image?
Archived author: Yakumo • Posted: 2024-08-28T19:59:23.918000+00:00
Original source
iirc as long as the dimensions are a power of 2
Archived author: Yakumo • Posted: 2024-08-28T19:59:40.816000+00:00
Original source
and in whatever folder you want, you put the path in that string
Archived author: Yakumo • Posted: 2024-08-28T19:59:57.308000+00:00
Original source
typically Interface/something/something
Archived author: Tehnix • Posted: 2024-08-28T20:06:57.420000+00:00
Original source
thanks, it worked!
Archived author: Titi • Posted: 2024-08-28T22:24:11.767000+00:00
Original source
gameobject table in world database