Scripts

smugScript

Bloodmoon.esm
Variables 2
Local Variables
doOnce
fightOnce
Source
1Begin smugScript 2 3short doOnce 4short fightOnce 5 6if ( doOnce == 1 ) 7 return 8endif 9 10if ( "gualtierus spurius".fightmod == 1 ) 11 if ( fightOnce == 0 ) 12 setfight 30 13 set fightOnce to 1 14 endif 15endif 16 17if ( doOnce == 0 ) 18 if ( OnDeath == 1 ) 19 set smugDead to ( smugDead + 1 ) 20 set doOnce to 1 21 endif 22endif 23 24 25 26 27 28 29End smugScript