keep track of death events
delete death events on adding an actor to the scene
added ondeath script function