TR_m3_TT_RIP_dala_sc
TR_Mainland.esm
Variables
6
Local Variables
TR_Map
control
controlQ
T_Local_NPC
T_Local_NoLore
NoLore
Source
1Begin TR_m3_TT_RIP_dala_sc
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 T_Local_NoLore
11short NoLore
12
13if ( CellChanged )
14 if ( GetJournalIndex TR_m3_TT_RIP >= 20 )
15 if ( GetJournalIndex TR_m3_TT_RIP < 25 )
16 if ( GetPCCell "Garvs and Fedura Ovav's Shack" == 1 )
17 if ( GetDisabled )
18 Enable
19 endif
20 elseif ( GetDisabled == 0 )
21 Disable
22 endif
23 endif
24 endif
25endif
26
27if ( TR_Map == 3 )
28 return
29endif
30
31set TR_Map to 3
32
33End