TR_m7_HL_FG_Q6_RedoranSc
TR_Mainland.esm
Variables
7
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
TR_m7_HL_FG_Redoran
OnPCHitMe
Source
1Begin TR_m7_HL_FG_Q6_RedoranSc
2
3short TR_Map
4short control
5short controlQ
6short NoLore
7short T_Local_NPC
8
9short TR_m7_HL_FG_Redoran
10short OnPCHitMe
11
12if ( TR_m7_HL_FG_Q6_FightStarted == 0 )
13 if ( OnPCHitMe )
14 set TR_m7_HL_FG_Q6_FightStarted to 1
15 startcombat player
16 endif
17endif
18
19if ( GetJournalIndex TR_m7_FG_HL_Q6 >= 100 )
20 if ( GetDisabled == 0 )
21 disable
22 endif
23 return
24elseif ( GetDisabled )
25 enable
26endif
27
28if ( OnDeath )
29 set TR_m7_HL_FG_Q6_FightStarted to 1
30 set TR_m7_HL_FG_Q6_DeadCount to ( TR_m7_HL_FG_Q6_DeadCount + 1 )
31 if ( TR_m7_HL_FG_Q6_DeadCount >= 3 )
32 if ( GetJournalIndex TR_m7_FG_HL_Q6 >= 10 )
33 Journal TR_m7_FG_HL_Q6 50
34 endif
35 endif
36endif
37
38if ( TR_Map )
39 return
40endif
41
42set TR_Map to 7
43set TR_m7_HL_FG_Redoran to 1
44
45End