TR_m4_NPC_Kuvat
TR_Mainland.esm
Variables
5
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
Source
1Begin TR_m4_NPC_Kuvat
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 NoLore
11;global TR_m4_AA_KuvatRent (1 got money, 2 in Lucky Shalaasa's)
12
13if ( CellChanged )
14 if ( TR_m4_AA_KuvatRent == 1 )
15 PositionCell, 877, 379, -9, 9000, "Arvud, Lucky Shalaasa's Caravanserai: Rooms"
16 AIWander 0, 0, 15, 10, 5, 0, 0
17 set TR_m4_AA_KuvatRent to 2
18 endif
19endif
20
21if ( TR_Map == 4 )
22 return
23endif
24
25set TR_Map to 4
26
27End