Orbiter1987 Posted February 21, 2013 Share Posted February 21, 2013 Is this possible? I tried these two events, but nothing happens. Event OnDeath(Actor akKiller) Debug.MessageBox("This is a message") endEvent Event OnDying(Actor akKiller) Debug.MessageBox("This is a message2") endEvent Link to comment Share on other sites More sharing options...
kromey Posted February 22, 2013 Share Posted February 22, 2013 From my own experimentation with trying to do stuff on player death, I'm pretty sure once the player dies (or starts dying), you're basically done. The way I worked around it was to make the player essential: PlayerREF.SetEssential(true)Which makes them immortal -- they never die! Then use the OnEnterBleedout event: Event OnEnterBleedout() Debug.MessageBox("This is a message") EndEventDon't forget to kill them (you should be able to use KillEssential(), or set them unessential again and use old-fashioned Kill()) when you're done, or do whatever else you want to be doing. Link to comment Share on other sites More sharing options...
Recommended Posts