Scripts

ColonyWolf_Hroldar

Bloodmoon.esm
Variables 2
Local Variables
doonce
wolfattack
Source
1Begin ColonyWolf_Hroldar 2 3short doonce 4short wolfattack 5 6if ( GetDisabled == 0 ) 7 if ( GetJournalIndex "CO_9a" < 40 ) 8 Disable 9 endif 10endif 11 12if ( GetDisabled == 1 ) 13 if ( GetJournalIndex "CO_9a" >= 40 ) 14 if ( GetDeadCount "Hroldar the Strange_b" < 1 ) 15 Enable 16 endif 17 endif 18endif 19 20if ( doonce == 0 ) 21 if ( GetDistance "Tirvel Balen" <= 512 ) 22 StartCombat "Tirvel Balen" 23 set doonce to 1 24 set wolfattack to 1 25 endif 26endif 27 28if ( doonce == 1 ) 29 if ( GetDeadCount "Tirvel Balen" >= 1 ) 30 StopCombat 31 SetFight 30 32 set doonce to 2 33 endif 34endif 35 36End ColonyWolf_Hroldar