TR_m7_NPC_Wedain_Gamache
TR_Mainland.esm
Variables
6
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m7_NPC_Wedain_Gamache
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. This version is for "NoLore" NPCs.
5
6short TR_Map
7short control
8short controlQ
9short NoLore
10short T_Local_NPC
11short T_Local_NoLore
12
13if ( OnDeath )
14 if ( GetJournalIndex TR_m7_Ns_PiousAndPersecuted == 10 )
15 Journal TR_m7_Ns_PiousAndPersecuted 150
16 endif
17endif
18
19if ( CellChanged )
20 if ( GetDisabled == 0 )
21 if ( GetJournalIndex TR_m7_Ns_PiousAndPersecuted == 100 )
22 set "TR_m7_Saryl Thereth".controlQ to 1
23 Disable
24 return
25 endif
26 endif
27endif
28
29if ( TR_Map == 7 )
30 return
31endif
32
33set TR_Map to 7
34
35End