TR_m7_EEC_Tong
TR_Mainland.esm
Variables
5
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
Source
1Begin TR_m7_EEC_Tong
2
3short TR_Map
4short control
5short controlQ
6short T_Local_NPC
7short NoLore
8
9if ( GetJournalIndex "TR_m7_EEC_Narsis6" < 10 )
10 ; disable before the quest
11 if ( GetDisabled == 0 )
12 disable
13 endif
14 return
15
16elseif ( GetJournalIndex "TR_m7_EEC_Narsis7" >= 100 )
17 ; disable after the quest
18 if ( GetDisabled )
19 return
20 else
21 disable
22 return
23 endif
24
25elseif ( GetDisabled )
26 ; enable during the quest
27 enable
28 return
29endif
30
31if ( OnDeath )
32 if TR_m7_EEC_Tongdead < 3
33 set TR_m7_EEC_Tongdead to ( TR_m7_EEC_Tongdead + 1 )
34 endif
35 endif
36
37set TR_Map to 7
38
39End