aeslipScript
Bloodmoon.esm
Variables
3
Local Variables
doOnce
index
timer
Source
1Begin aeslipScript
2
3float timer
4short doOnce
5short index
6
7if ( OnDeath == 1 )
8 if ( AeslipTalk == 0 )
9 Journal "BM_Draugr" 90
10 elseif ( AeslipTalk > 0 )
11 if ( GetJournalIndex BM_Draugr < 80 )
12 Journal BM_Draugr 90
13 endif
14 endif
15endif
16
17if ( doOnce > 0 )
18 return
19endif
20
21if ( GetJournalIndex BM_Draugr >= 40 )
22 if ( GetJournalIndex BM_Draugr <= 50 )
23 if ( AeslipTalk == 0 )
24 if ( GetDistance Player <= 512 )
25 ForceGreeting
26 endif
27 endif
28 endif
29endif
30
31if ( GetJournalIndex "BM_Draugr" == 80 )
32 set timer to ( timer + GetSecondsPassed )
33 if ( timer >= 3 )
34 ForceGreeting
35 set doOnce to 1
36 endif
37endif
38
39End aeslipScript