TR_m4_NPC_Vals_Varano
TR_Mainland.esm
Variables
11
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
executionStory
controlA
controlB
controlC
controlD
Source
1Begin TR_m4_NPC_Vals_Varano
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 T_Local_NPC
11short T_Local_NoLore
12short executionStory
13short controlA ;used in Topic "threatening to blackmail"
14short controlB ;used in Topic "drafted the terms" and "new truce"
15short controlC ;used in Topic "Bthuangthuv"
16short controlD ;used in Topic "massacre at the Dusky Alit"
17
18if ( OnDeath == 1 )
19 if ( GetJournalIndex "TR_m4_TG_Shei6" >= 5 )
20 if ( GetJournalIndex "TR_m4_TG_Shei6C" == 100 )
21 if ( GetJournalIndex "TR_m4_TG_Shei6" < 150 )
22 set TR_m4_TG_AndoAttack to 1
23 Journal "TR_m4_TG_Shei6" 150
24 endif
25 endif
26 endif
27endif
28
29if ( GetJournalIndex "TR_m4_TG_Shei6" >= 175 )
30 if ( GetDisabled == 0 )
31 disable
32 endif
33endif
34
35if ( TR_Map == 4 )
36 return
37endif
38
39set TR_Map to 4
40
41End