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