SabinusScript
Bloodmoon.esm
Variables
3
Local Variables
OnPCHitMe
Sabinusfollow
nolore
Source
1Begin SabinusScript
2
3short OnPCHitMe
4short Sabinusfollow
5short nolore
6
7if ( GetJournalIndex "CO_1" < 10 )
8 return
9elseif ( GetJournalIndex "CO_1" < 30 )
10 if ( Ondeath == 1 )
11 Journal CO_1 300
12 endif
13endif
14
15if ( GetJournalIndex "CO_1" == 20 )
16 if ( Sabinusfollow == 0 )
17 AIfollow "Gidar Verothan" 0 -198017 160157 800 0
18 set Sabinusfollow to 1
19 endif
20endif
21
22
23if ( sabinusfollow == 1 )
24 if ( GetJournalIndex "CO_1" >= 30 )
25 if ( GetDistance "Gidar Verothan" < 512 )
26 AiWander 0 0 0 60 30 20 0 0 0 0 0 0
27 setalarm 50
28 set sabinusfollow to 2
29 endif
30 endif
31endif
32
33
34
35if ( OnPCHitMe == 1 )
36 "Gidar Verothan"->StartCombat Player
37 "Gamin Girith"->StartCombat Player
38 SetFight 100
39 StartCombat Player
40endif
41
42
43
44End SabinusScript