How may I detect damage dealed to the player?

Post » Sat Sep 15, 2012 1:12 am

I need to track when the player receives damage. I have found the script block type:

Begin OnHit

; script goes here


End

But how do I attach this script to the player? And does OnHit work for the player? If someone knows how to intercept / get a callback when the player is hit please let me know.

Thanks in advance, Harmlezz
User avatar
Tania Bunic
 
Posts: 3392
Joined: Sun Jun 18, 2006 9:26 am

Return to Fallout 3