Scripts

ColonyAlfbrand

Bloodmoon.esm
Variables 5
Local Variables
nolore
alfbrandequip
doonce
attackinit
OnPCHitMe
Source
1Begin ColonyAlfbrand 2 3short nolore 4short alfbrandequip 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 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 37 38if ( doonce == 0 ) 39 if ( GetJournalIndex "CO_13a" == 30 ) 40 SetFight 100 41 StartCombat Player 42 set doonce to 1 43 endif 44endif 45 46if ( GetJournalIndex "CO_13a" == 30 ) 47 if ( OnDeath == 1 ) 48 if ( GetDeadCount "Audmund" == 1 ) 49 if ( GetDeadCount "Bryngrim" == 1 ) 50 if ( GetDeadCount "Ormvard" == 1 ) 51 if ( GetDeadCount "Toralf" == 1 ) 52 if ( GetDeadCount "Valgeir" == 1 ) 53 Journal CO_13a 40 54 endif 55 endif 56 endif 57 endif 58 endif 59 endif 60endif 61 62 63 64End