hlaaluPrisonGuard
Morrowind.esm
Variables
2
Local Variables
doOnce
timer
Source
1Begin hlaaluPrisonGuard
2
3short doOnce
4float timer
5
6if ( GetJournalIndex HR_Stronghold < 141 )
7 Return
8endif
9
10if ( GetJournalIndex HR_Stronghold >= 144 )
11 if ( doOnce == 1 )
12 StopCombat
13 Set doOnce to 2
14 endif
15 Return
16endif
17
18if ( doOnce > 0 )
19 Return
20endif
21
22Set timer to ( timer + GetSecondsPassed )
23
24if ( timer > 1 )
25 Set timer to 0
26 if ( GetDetected Player == 1 )
27 StartCombat Player
28 Set doOnce to 1
29 endif
30endif
31
32End