TR_m3_oe_eecq1_scr
TR_Mainland.esm
Variables
3
Local Variables
TR_Map
T_Local_NPC
NoLore
Source
1begin TR_m3_oe_eecq1_scr
2;yes this is used on npcs and objects both
3;OE EEC quest one, disables and enables npcs and objects
4
5short TR_Map
6short T_Local_NPC
7short NoLore
8
9if ( CellChanged )
10 if ( GetDisabled )
11 if ( GetJournalIndex "TR_m3_EEC_excise" >= 10 )
12 if ( GetJournalIndex "TR_m3_EEC_excise" < 70 )
13 enable
14 endif
15 endif
16 elseif ( GetJournalIndex "TR_m3_EEC_excise" >= 70 )
17 disable
18 elseif ( GetJournalIndex "TR_m3_EEC_excise" < 10 )
19 disable
20 endif
21endif
22
23if ( TR_Map == 3 )
24 return
25endif
26
27set TR_Map to 3
28
29End