TR_m4_NPC_Bormundir2
TR_Mainland.esm
Variables
5
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
Source
1Begin TR_m4_NPC_Bormundir2
2; This short script is there to allow dialogue to be filtered on the TR_Map local variable,
3; allowing for regional topics such as "Morrowind Lore" or "Geographic Regions" to be
4; appropriate to the location the NPC is.
5
6short TR_Map
7short control
8short controlQ
9short NoLore
10short T_Local_NPC
11
12
13if ( GetJournalIndex "TR_m4_VA_Termination" > 5) ;Orlukh Quest
14 if ( GetJournalIndex "TR_m4_VA_Namira" >= 75 )
15 if ( GetDisabled )
16 return
17 else
18 disable
19 endif
20 elseif ( GetDisabled )
21 enable
22 endif
23elseif ( GetDisabled )
24 return
25else
26 disable
27endif
28
29
30if ( TR_Map == 4 )
31 return
32endif
33
34set TR_Map to 4
35
36End