TR_m2_q_11_FavanaScript
TR_Mainland.esm
Variables
5
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
Source
1Begin TR_m2_q_11_FavanaScript
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; And to give proper dialogue for quest TR_m2_AB_ChooseFamily
6
7short TR_Map
8short control
9short controlQ
10short T_Local_NPC
11short NoLore
12
13if ( GetItemCount "TR_m2_q_11_heir_ring" == 0 )
14 if ( controlQ == 0 )
15 set controlQ to 1
16 endif
17else
18 if ( controlQ == 1 ) ;She only gets the ring later on so...
19 set controlQ to 0
20 endif
21endif
22
23if ( TR_Map == 2 )
24 return
25endif
26
27set TR_Map to 2
28
29End