Auto-translated
Implement the goal using a script. Disable the trigger linked to the previous hero's death at the appropriate moment, remove the previous hero, add a new hero, and then enable the trigger, but this time linked to the new hero's death. This is one possible approach.