anoScript
Morrowind.esm
Variables
3
Local Variables
doonce
nolore
greetonce
Source
1Begin anoScript
2
3short doonce
4short nolore
5short greetonce
6
7if ( MenuMode == 1 )
8 Return
9endif
10
11if ( doonce == -1 )
12 return
13endif
14
15if ( PCVampire != 1 )
16 return
17endif
18
19If ( PCVampire == 1 )
20 If ( GetDistance Player <= 256 )
21 if ( greetonce == 0 )
22 ForceGreeting
23 set greetonce to -1
24 endif
25 endif
26endif
27
28if ( GetJournalIndex "VA_VampHunter" >= 20 )
29 if ( GetJournalIndex "VA_VampHunter" < 60 )
30 if ( OnDeath == 1 )
31 if ( GameHour >= 9 )
32 if ( GameHour <= 17 )
33 Journal "VA_VampHunter" 70
34 set doonce to -1
35 endif
36 endif
37 endif
38 endif
39endif
40
41if ( GetJournalIndex "VA_VampHunter" >= 20 )
42 if ( GetJournalIndex "VA_VampHunter" < 60 )
43 if ( OnDeath == 1 )
44 if ( GameHour < 9 )
45 Journal "VA_VampHunter" 60
46 set doonce to -1
47 endif
48 endif
49 endif
50endif
51
52if ( GetJournalIndex "VA_VampHunter" >= 20 )
53 if ( GetJournalIndex "VA_VampHunter" < 60 )
54 if ( OnDeath == 1 )
55 if ( GameHour > 17 )
56 Journal "VA_VampHunter" 60
57 set doonce to -1
58 endif
59 endif
60 endif
61endif
62
63end anoScript