TR_m1_NPC_Malvas_Relvani
TR_Mainland.esm
Variables
5
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
Source
1Begin TR_m1_NPC_Malvas_Relvani
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 ( CellChanged == 0 )
13 return
14endif
15
16if ( GetDisabled == 0 )
17 if ( GetDeadCount TR_m1_T_Rilvin_Dral >= 1 )
18 Disable
19 return
20 elseif ( GetJournalIndex TR_m1_HT_UnseatingDral == 100 )
21 Disable
22 return
23 endif
24endif
25
26if ( TR_Map == 1 )
27 return
28endif
29
30set TR_Map to 1
31
32End