TR_NecMQ_MovingNPCScript
TR_Mainland.esm
Variables
7
Local Variables
TR_Map
control
controlQ
doOnce
T_Local_NPC
NoLore
T_Local_NoLore
Source
1Begin TR_NecMQ_MovingNPCScript
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 doOnce
10short T_Local_NPC
11short NoLore
12short T_Local_NoLore
13
14if ( GetAIPackageDone == 1 )
15 if ( doOnce == 1 ) ; set in TR_NecMQ_AlandroCounselScript
16 set doOnce to 2
17 endif
18endif
19
20if ( TR_Map == 2 )
21 return
22endif
23
24set TR_Map to 2
25
26End