Ah, u are using delegates because u are using a health component, that explains
So there are 2 things u can do.
- in your ATPSCharacter::OnHealthChanged, implement or call a method for the ragdoll.
- In your health component, add an extra delegate to broadcast the death.
I would go for the second, so u can also hookup the event in other places without having to check if your pawn died every time in the event handler.