Scripts

drownOnExit

Tribunal.esm
Variables 1
Local Variables
forcedrown
Source
1begin drownOnExit 2 3short forcedrown 4 5if ( forcedrown == 0 ) 6 if ( cellChanged ) 7 if ( GetHealth > 1 ) 8 if ( GetWaterLevel == 0 ) 9 set forcedrown to 1 10 SetHealth 0 11 endif 12 endif 13 endif 14endif 15 16end