Re: Need help, script to run on monster's death.
Posted: Thu Nov 15, 2012 12:55 pm
As far as I've tested and experienced, you don't need the return true line, it's redundant because it will return true by default unless you script something into it that will return false or explicitly say return false.
Also, onDie (and many other hooks) don't work on the Cube, as it's pretty unique in how it handles things. I had to track it's movement and have the game assume it's dead if it's been sitting still a very long time

Also, onDie (and many other hooks) don't work on the Cube, as it's pretty unique in how it handles things. I had to track it's movement and have the game assume it's dead if it's been sitting still a very long time