O Ilusionista
Captain 100K
I have an entity type none who can fall on holes, but I need to trigger its death to restore the nojoin back to normal.
I've added a code on a ondeathscript but seams that dying on a hole doesn't triggers ondeathscript.
How should I trigger it? onmoveascript? And why it doesn't triggers if the entity is dying?
Another question: when an entity is removed by the engine because it was stuck inside a wall, does ondeathscript triggers or not?
There is any way to trigger a script when the engine does it?
Solution:
I've added a code on a ondeathscript but seams that dying on a hole doesn't triggers ondeathscript.
How should I trigger it? onmoveascript? And why it doesn't triggers if the entity is dying?
Another question: when an entity is removed by the engine because it was stuck inside a wall, does ondeathscript triggers or not?
There is any way to trigger a script when the engine does it?
Solution:
Damon Caskey said:Removal of an entity does not trigger a death event, since technically the entity is not dying. There is an onkillscript though - it runs immediately before the entity is destroyed.
DC