» Thu May 26, 2011 10:18 pm
They both remove it immediately on death, but mine infinitely removes the item. This causes no error for NPCs other than giving them negative weight (removing an item that's not there doesn't cause an error, but it does remove the weight of the item from the player, allowing his weight to go below 0).
You could also use if ( onDeath == 1 ) to test for the death of the actor, which essentially does what Yacoby suggested. However, if the NPC has more than one item of that ID, it will only remove one.