TR_m7_ShiSha_IL_4_Guard_Sc
TR_Mainland.esm
Variables
6
Local Variables
TR_Map
control
controlq
NoLore
T_Local_NPC
T_Local_NoLore
Source
1begin TR_m7_ShiSha_IL_4_Guard_Sc
2
3short TR_Map
4short control
5short controlq
6short NoLore
7short T_Local_NPC
8short T_Local_NoLore
9
10
11if ( getdisabled == 0 ) ; disable if not on the quest
12 if ( GetJournalIndex, "TR_m7_ShiSha_IL_4" == 0 )
13 disable
14 elseif ( GetJournalIndex, "TR_m7_ShiSha_IL_4" >= 100 )
15 disable
16 endif
17endif
18
19if ( getdisabled ) ;enable for the quest
20 if ( GetJournalIndex, "TR_m7_ShiSha_IL_4" > 0 )
21 if ( GetJournalIndex, "TR_m7_ShiSha_IL_4" < 100 )
22 enable
23 endif
24 endif
25endif
26
27if ( TR_Map )
28 return
29endif
30
31set TR_Map to 7
32
33end