configureable onStep and onDeath trigger