TR_m2_q_A8_2_RilasScript
TR_Mainland.esm
Variables
5
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
Source
1Begin TR_m2_q_A8_2_RilasScript
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 ) ;if you kill him, fail quest
13 if ( GetJournalIndex TR_m2_Ak_Gem > 0 )
14 if ( GetJournalIndex TR_m2_Ak_Gem < 100 )
15 Journal TR_m2_Ak_Gem 101
16 endif
17 endif
18endif
19
20if ( TR_Map == 2 )
21 return
22endif
23
24set TR_Map to 2
25
26End