Damage health and add radiation script help

Post » Thu Aug 18, 2011 9:53 am

im not good at writing scripts at all but what im trying to do is write a script for an activator effect so when you walk into a sandstorm your health starts take damage and increases radiation, but i cant find how to write these effects in script terms

anyone know how?
User avatar
Eve(G)
 
Posts: 3546
Joined: Tue Oct 23, 2007 11:45 am

Post » Thu Aug 18, 2011 1:59 pm

DamageAV health/radiationrads. You may find it easier to use OnTriggerEnter and OnTriggerLeave blocks on your sandstormed area to apply/remove an Actor Effect that does the damage, using CIOS and Dispel. This way you wouldn't have to do a bunch of maths to figure out the correct amount to add in terms of fractions of a second in a script. Look the functions/blocktypes up on the wiki if you need further info.
User avatar
herrade
 
Posts: 3469
Joined: Thu Apr 05, 2007 1:09 pm


Return to Fallout: New Vegas