TR_m4_NPC_Kettigrim
TR_Mainland.esm
Variables
7
Local Variables
TR_Map
control
controlQ
NoLore
leaveArvud
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m4_NPC_Kettigrim
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 leaveArvud
11short T_Local_NPC
12short T_Local_NoLore
13
14if ( MenuMode )
15 return
16endif
17
18if ( CellChanged )
19 if ( GetJournalIndex "TR_m4_Arv_VendelVisitD" == 5 )
20 if ( GetDisabled == 0 )
21 Disable
22 endif
23 endif
24endif
25
26if ( TR_Map == 4 )
27 return
28endif
29
30set TR_Map to 4
31
32End