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