4
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
520 B

scriptName dunCGFireTriggerScript extends objectReference
{Actor enters trigger, he gets hurt}
keyword property dunCGMagicHeavyFire auto
explosion property dunCGTrapFireTriggerExplosion01 auto
event onTrigger(objectReference triggerRef)
if triggerRef as actor && !(triggerRef as actor).isDead()
;If the actor does not already have this fire effect on them
if !(triggerRef as actor).HasMagicEffectWithKeyword(dunCGMagicHeavyFire)
triggerRef.placeAtMe(dunCGTrapFireTriggerExplosion01)
endif
endif
endEvent