TR_m7_q_MathasIrathyn_sc
TR_Mainland.esm
Variables
6
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m7_q_MathasIrathyn_sc
2
3
4short TR_Map
5short control
6short controlQ
7short NoLore
8short T_Local_NPC
9short T_Local_NoLore
10
11if ( OnDeath == 1 )
12 if ( GetJournalIndex "TR_m7_IL_HL_Q3" < 100 )
13 Journal "TR_m7_IL_HL_Q3" 34
14 set control to 1
15 endif
16endif
17
18if ( GetJournalIndex "TR_m7_IL_HL_Q3" < 10 )
19 if ( GetDisabled )
20 return
21 else
22 Disable
23 endif
24elseif ( GetJournalIndex "TR_m7_IL_HL_Q3" < 100 )
25 if ( GetDisabled )
26 Enable
27 else
28 return
29 endif
30elseif ( GetJournalIndex "TR_m7_IL_HL_Q3" >= 100 )
31 if ( GetDisabled )
32 return
33 else
34 if ( control == 1 )
35 return
36 else
37 disable
38 endif
39 endif
40endif
41
42
43
44set TR_Map to 7
45
46End