TR_m3_OE_TG_MoranieGuard_SCP
TR_Mainland.esm
Variables
6
Local Variables
control
controlQ
NoLore
TR_Map
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m3_OE_TG_MoranieGuard_SCP
2
3short control
4short controlQ
5short NoLore
6short TR_Map
7short T_Local_NPC
8short T_Local_NoLore
9
10;most instances of these guards will be placed by TR_m3_OE_TG_PlaceGuards
11
12if ( GetDisabled )
13 if ( GetJournalIndex "TR_m3_TG_Fentus5" < 100 )
14 return
15 endif
16 if ( GetJournalIndex "TR_m3_TG_Moranie3" >= 105 )
17 if ( CellChanged )
18 SetDelete 1
19 endif
20 return
21 endif
22endif
23
24if ( GetJournalIndex "TR_m3_TG_Moranie3" >= 105 )
25 disable
26 return
27endif
28
29if ( GetJournalIndex "TR_m3_TG_Fentus5" < 100 )
30 disable
31 return
32elseif ( GetDisabled )
33 enable
34endif
35
36if ( TR_Map )
37 return
38endif
39
40set TR_Map to 3
41
42End