GaenorScript
Tribunal.esm
Variables
5
Local Variables
greetonce
nolore
castonce
OnPCHitMe
timer
Source
1Begin GaenorScript
2
3short greetonce
4short nolore
5short castonce
6short OnPCHitMe
7
8float timer
9
10if ( MenuMode == 1 )
11 return
12endif
13
14;end quest if PC should happen to get lucky and kill him in one hit...
15
16if ( OnDeath == 1 )
17 Journal MS_Natural 40
18 StopScript GaenorTimer
19endif
20
21
22;get him away if the PC tries to attack....
23
24if ( OnPCHitMe == 1 )
25 if ( GetJournalIndex "MS_Natural" == 10 )
26 if ( greetonce == 0 )
27 Journal MS_Natural 15
28 ForceGreeting
29 set greetonce to 1
30 endif
31 endif
32endif
33
34
35
36if ( GetJournalIndex "MS_Natural" == 15 )
37 if ( castonce == 0 )
38 Cast, gaenor_spell, "Gaenor"
39 set castonce to 1
40 endif
41
42 if ( GetChameleon == 1 )
43 Disable
44 Journal MS_Natural 20
45 endif
46
47
48endif
49
50End