whiteguarScript
Morrowind.esm
Variables
1
Local Variables
guarfollow
Source
1Begin whiteguarScript
2
3short guarfollow
4
5if ( GetDisabled != 1 )
6 if ( GetJournalIndex "MS_WhiteGuar" >= 70 )
7 Disable
8 endif
9endif
10
11if ( GetDisabled == 1 )
12 if ( GetJournalIndex MS_WhiteGuar >= 20 )
13 Enable
14 endif
15 Return
16endif
17
18if ( ashamanu->GetDisabled != 1 )
19 if ( ashamanu->GetDistance Player <= 128 )
20 if ( GetJournalIndex "MS_WhiteGuar" == 50 )
21 Journal "MS_WhiteGuar" 60
22 endif
23 endif
24endif
25
26if ( GetJournalIndex "MS_WhiteGuar" < 60 )
27 if ( GetDistance Player <= 512 )
28 if ( guarfollow == 0 )
29 AiEscort Player 0 70685 126106 835 0
30 Journal "MS_WhiteGuar" 50
31 set guarfollow to -1
32 endif
33 endif
34endif
35
36End