weretrackerStatScript
Bloodmoon.esm
Variables
3
Local Variables
doOnce
fightOnce
nolore
Source
1Begin weretrackerStatScript
2
3short doOnce
4short fightOnce
5short nolore
6
7if ( GetDisabled == 0 )
8 if ( GetJournalIndex BM_BearHunt2 < 10 )
9 Disable
10 endif
11elseif ( GetDisabled == 1 )
12 if ( GetJournalIndex BM_BearHunt2 >= 10 )
13 Enable
14 endif
15endif
16
17if ( OnDeath == 1 )
18 set trackersdead to ( trackersdead + 1 )
19 set trackercount to ( trackercount - 1 )
20endif
21
22if ( trackersdead >= 10 )
23 if ( trackercount == 0 )
24 if ( GetJournalIndex BM_BearHunt2 < 30 )
25 MessageBox "The Skaal trackers have abandoned their quest for the Spirit Bear."
26 Journal BM_BearHunt2 30
27 endif
28 endif
29endif
30
31
32if ( doOnce == 0 )
33 AiTravel -172097.438 192226.375 587.508
34 set doOnce to 1
35endif
36
37if ( GetDistance Player <= 1024 )
38 if ( fightOnce == 0 )
39 StartCombat Player
40 set fightOnce to 1
41 set doOnce to -1
42 endif
43endif
44
45
46
47
48End weretrackerStatScript