Activating a script upon taking damage

Post » Fri Nov 18, 2011 7:54 am

Hi, I have a scripting question - I want to create an effect whereby for the duration damage comes off of AP instead of health. I think I could do it by checking health at the beginning of the effect and whenever health changes somehow get the amount changed and subtract it from AP and re-add the same amount to health until the effect wears off. The main question is, how would I be able to track when health changes? And once I figure that out, how do I track the amount lost? Any thoughts?
User avatar
BlackaneseB
 
Posts: 3431
Joined: Sat Sep 23, 2006 1:21 am

Return to Fallout: New Vegas

cron