Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Hi all, I'm looking for some guidance on how to implement something and I was wondering if anyone co

[DiscordArchive] Hi all, I'm looking for some guidance on how to implement something and I was wondering if anyone co

[DiscordArchive] Hi all, I'm looking for some guidance on how to implement something and I was wondering if anyone co

rektbyfaith
Administrator
0
09-05-2024, 07:26 PM
#1
Archived author: gg • Posted: 2024-09-05T19:26:28.152000+00:00
Original source

Hi all, I'm looking for some guidance on how to implement something and I was wondering if anyone could give some advice.

What I'm trying to do is automatically add an item to players' bags through Eluna/lua when they kill dungeon bosses, and I recently discovered that using RegisterCreatureEvent will override any SAI/DB data, which then removes all the boss behaviors and scripting. Is there a better method I can use to track when players kill certain boss creatures that will not override the SAI?
rektbyfaith
09-05-2024, 07:26 PM #1

Archived author: gg • Posted: 2024-09-05T19:26:28.152000+00:00
Original source

Hi all, I'm looking for some guidance on how to implement something and I was wondering if anyone could give some advice.

What I'm trying to do is automatically add an item to players' bags through Eluna/lua when they kill dungeon bosses, and I recently discovered that using RegisterCreatureEvent will override any SAI/DB data, which then removes all the boss behaviors and scripting. Is there a better method I can use to track when players kill certain boss creatures that will not override the SAI?

rektbyfaith
Administrator
0
09-05-2024, 08:05 PM
#2
Archived author: thunder • Posted: 2024-09-05T20:05:03.095000+00:00
Original source

Make a lua script spawning a loot box object
rektbyfaith
09-05-2024, 08:05 PM #2

Archived author: thunder • Posted: 2024-09-05T20:05:03.095000+00:00
Original source

Make a lua script spawning a loot box object

rektbyfaith
Administrator
0
09-05-2024, 08:05 PM
#3
Archived author: thunder • Posted: 2024-09-05T20:05:25.621000+00:00
Original source

Or apply a aura to said npc and use a aura checker
rektbyfaith
09-05-2024, 08:05 PM #3

Archived author: thunder • Posted: 2024-09-05T20:05:25.621000+00:00
Original source

Or apply a aura to said npc and use a aura checker

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