Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] Hey, is there any way to change the display id of the currently equipped items or just for the slot

[DiscordArchive] Hey, is there any way to change the display id of the currently equipped items or just for the slot

[DiscordArchive] Hey, is there any way to change the display id of the currently equipped items or just for the slot

rektbyfaith
Administrator
0
10-06-2024, 01:54 PM
#1
Archived author: TheHideout • Posted: 2024-10-06T13:54:07.141000+00:00
Original source

Hey, is there any way to change the display id of the currently equipped items or just for the slot in general? Like changing the helmet to another one. Something like transmogs? I'm working on a Eluna/AIO module. Currently saving the display ids to the db etc. and it works. The only thing left is actually equipping them. Do I need to right my own C++ implementation for that? I'm using AzerothCore

Something like this I guess?
` player->SetVisibleItemSlot(item->GetSlot(), item);
if (player->IsInWorld())
item->SendUpdateToPlayer(player);`

Edit:
Is there any spell template that changes armor parts?
rektbyfaith
10-06-2024, 01:54 PM #1

Archived author: TheHideout • Posted: 2024-10-06T13:54:07.141000+00:00
Original source

Hey, is there any way to change the display id of the currently equipped items or just for the slot in general? Like changing the helmet to another one. Something like transmogs? I'm working on a Eluna/AIO module. Currently saving the display ids to the db etc. and it works. The only thing left is actually equipping them. Do I need to right my own C++ implementation for that? I'm using AzerothCore

Something like this I guess?
` player->SetVisibleItemSlot(item->GetSlot(), item);
if (player->IsInWorld())
item->SendUpdateToPlayer(player);`

Edit:
Is there any spell template that changes armor parts?

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)