I've been looking for a way to get the gid of a monster when he dies by using the OnNPCDieEvent label but since I'm like really really bad at source stuff none of the things I tried worked out, could you lend me a hand please?
I guess I would have to edit this part in the mob.c file :
Question
Kurofly
Hello there
I've been looking for a way to get the gid of a monster when he dies by using the OnNPCDieEvent label but since I'm like really really bad at source stuff none of the things I tried worked out, could you lend me a hand please?
I guess I would have to edit this part in the mob.c file :
the "killedrid" variable is set to the mob id and I'd like to get its game id, I'd probably name it "killedgid".
Thanks in advance
8 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.