AIex Posted February 15, 2021 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 17 Reputation: 0 Joined: 10/12/14 Last Seen: August 10, 2022 Share Posted February 15, 2021 Hello everyone! I have a NPC that causes two different aggressive mobs (Poison Spore and Argiope). These monsters kill another mobs. I also have another NPC that cause Porings. The task is to find out which monster (Poison Spore or Argiope) kills Poring. Or how to find Poring was killed by a player or a monster summoned by the first NPC? Quote Link to comment Share on other sites More sharing options...
0 AIex Posted February 16, 2021 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 17 Reputation: 0 Joined: 10/12/14 Last Seen: August 10, 2022 Author Share Posted February 16, 2021 Please, have someone ideas? Quote Link to comment Share on other sites More sharing options...
0 Gladius Posted February 18, 2021 Group: Members Topic Count: 12 Topics Per Day: 0.01 Content Count: 235 Reputation: 64 Joined: 04/29/19 Last Seen: April 16 Share Posted February 18, 2021 It is necessary to harness the monster to something. Example: The monster must be summoned by an "event": monster "YOU_MAP",0,0,"--ja--",MOB_ID,1,strnpcinfo(0)+"::OnMyMobDead1"; This way, when the monster is defeated, it will call the event: OnMyMobDead1 OnMyMobDead1: mapannounce "YOU_MAP","[ Exemple ] : "+strcharinfo(0)+" defeated the monster!",8; end; I don't know an easy or simple way to tie the event to a monster or npc. Quote Link to comment Share on other sites More sharing options...
0 Mastagoon Posted February 18, 2021 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 63 Reputation: 38 Joined: 07/04/19 Last Seen: December 14, 2024 Share Posted February 18, 2021 On 2/15/2021 at 6:34 PM, AIex said: Hello everyone! I have a NPC that causes two different aggressive mobs (Poison Spore and Argiope). These monsters kill another mobs. I also have another NPC that cause Porings. The task is to find out which monster (Poison Spore or Argiope) kills Poring. Or how to find Poring was killed by a player or a monster summoned by the first NPC? You can use event labels like @Gladius said to figure it if a monster was killed by a player or another monster, but there is no way to access the information of the killer monster without a source mod Quote Link to comment Share on other sites More sharing options...
Question
AIex
Hello everyone!
I have a NPC that causes two different aggressive mobs (Poison Spore and Argiope). These monsters kill another mobs.
I also have another NPC that cause Porings.
The task is to find out which monster (Poison Spore or Argiope) kills Poring.
Or how to find Poring was killed by a player or a monster summoned by the first NPC?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.