When my hero dies, that shows up in a game message (white text). Why? This is the only trigger that is run on death.
Code:
player dies
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Player
Actions
Player Group - Add (Owner of (Dying unit)) to playersthatdie