avSlavehunter
Morrowind.esm
Variables
3
Local Variables
followNow
toldSlavehunter
timer
Source
1Begin avSlavehunter
2
3float timer
4
5;used in dialogue, set from J'Saddha's script
6short followNow
7
8;used for telling them where J'Saddha is
9;0 = not done yet, 1 = told them something, -1 = they know you're a liar
10short toldSlavehunter
11
12if ( CellChanged == 1 )
13 if ( GetJournalIndex HH_TwinLamps1 > 0 )
14 if ( GetJournalIndex HH_TwinLamps1 < 100 )
15 Enable
16 Return
17 endif
18 endif
19 Disable
20 Return
21endif
22
23if ( timer == -1 )
24 Return
25endif
26
27if ( timer < 2 )
28 Set timer to ( timer + GetSecondsPassed )
29 Return
30endif
31
32Set timer to 0
33
34if ( GetDistance "j_saddha" < 1024 )
35 if ( GetDetected "j_saddha" == 1 )
36 StartCombat "j_saddha"
37 Set counter to -1
38 endif
39endif
40
41End