[DiscordArchive] Hello Guys. I have created custom NPC (BOSS) and I want to somehow catch in code all the players who
[DiscordArchive] Hello Guys. I have created custom NPC (BOSS) and I want to somehow catch in code all the players who
Archived author: Shako • Posted: 2025-03-24T10:23:22.283000+00:00
Original source
Hello Guys. I have created custom NPC (BOSS) and I want to somehow catch in code all the players who is in combat with this npc to give them all loot then. doesn't matter who tagged first. so I want to give loot to everyone who attacks boss. I have tried to catch all players with ThreadManager but it didn't worked. any idea how to do it?
Archived author: substitute • Posted: 2025-03-24T23:02:45.580000+00:00
Original source
Is there an event when an npc takes damage? I would use that event and grab the party of the attacker (each) and build a set of guids to give loot to once the npc dies
Archived author: substitute • Posted: 2025-03-24T23:03:11.434000+00:00
Original source
(I also assume there’s a death event?)
Archived author: Barais • Posted: 2025-03-24T23:14:52.921000+00:00
Original source
Should be an on death event
Archived author: sudlud • Posted: 2025-03-25T01:04:14.835000+00:00
Original source
There should be script functions for damage taken / death etc