Scripts

ColonyBryngrim

Bloodmoon.esm
Variables 5
Local Variables
attackinit
nolore
bryngrimequip
doonce
OnPCHitMe
Source
1Begin ColonyBryngrim 2 3short attackinit 4short nolore 5short bryngrimequip 6short doonce 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 17 18if ( GetDisabled == 0 ) 19 if ( GetJournalIndex "CO_13a" < 10 ) 20 Disable 21 endif 22endif 23 24 25 26if ( GetDisabled == 1 ) 27 if ( GetJournalIndex "CO_13a" == 10 ) 28 if ( GameHour > 20 ) 29 if ( GameHour < 22 ) 30 Enable 31 endif 32 endif 33 endif 34endif 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 "Audmund" == 1 ) 48 if ( GetDeadCount "Toralf" == 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 62End