Jump to content

"GetCauseofDeath" doesn't show correct results


PlayerI3

Recommended Posts

Hi, I am trying to make a script that detects if you killed NPC with an explosion but "GetCauseofDeath" shows the right cause of death only for 2 NPCs per explosion, no matter how many of them dies :confused:


For some reason everyone else who died from the blast are getting their cause of death set to "-1" meaning "NONE" instead of "0" :ermm:


In case there is anyone who understands how to make "GetCauseofDeath" show correct results, I would really appreciate the advice.


Thanks.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...