Scripts

ColonyAudmund

Bloodmoon.esm
Variables 5
Local Variables
nolore
audmundequip
doonce
attackinit
OnPCHitMe
Source
1Begin ColonyAudmund 2 3short nolore 4short audmundequip 5short doonce 6short attackinit 7short OnPCHitMe 8 9if ( "toralf".nordhit == 0 ) 10 if ( GetJournalIndex "CO_13a" < 30 ) 11 if ( OnPCHitMe == 1 ) 12 set "toralf".nordhit to 1 13 "Toralf"->Forcegreeting 14 endif 15 endif 16endif 17if ( GetDisabled == 0 ) 18 if ( GetJournalIndex "CO_13a" < 10 ) 19 Disable 20 endif 21endif 22 23 24 25if ( GetDisabled == 1 ) 26 if ( GetJournalIndex "CO_13a" == 10 ) 27 if ( GameHour > 20 ) 28 if ( GameHour < 22 ) 29 Enable 30 endif 31 endif 32 endif 33endif 34 35 36 37if ( doonce == 0 ) 38 if ( GetJournalIndex "CO_13a" == 30 ) 39 SetFight 100 40 StartCombat Player 41 set doonce to 1 42 endif 43endif 44 45if ( GetJournalIndex "CO_13a" == 30 ) 46 if ( OnDeath == 1 ) 47 if ( GetDeadCount "Toralf" == 1 ) 48 if ( GetDeadCount "Bryngrim" == 1 ) 49 if ( GetDeadCount "Ormvard" == 1 ) 50 if ( GetDeadCount "Alfbrand" == 1 ) 51 if ( GetDeadCount "Valgeir" == 1 ) 52 Journal CO_13a 40 53 endif 54 endif 55 endif 56 endif 57 endif 58 endif 59endif 60 61 62 63End