TR_m4_NPC_NadrasArvel
TR_Mainland.esm
Variables
5
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
Source
1Begin TR_m4_NPC_NadrasArvel
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 T_Local_NPC
10short NoLore
11
12if ( OnDeath == 1 )
13 if ( GetJournalIndex "TR_m4_MT_NadrasArvel" == 5 ) ;player hasn't secured the Writ
14 Journal "TR_m4_MT_NadrasArvel" 80
15 elseif ( GetJournalIndex "TR_m4_MT_NadrasArvel" == 10 ) ;player has secured the Writ
16 Journal "TR_m4_MT_NadrasArvel" 90
17 endif
18endif
19
20if ( TR_Map == 4 )
21 return
22endif
23
24set TR_Map to 4
25
26End