TR_m4_NPC_Milur
TR_Mainland.esm
Variables
8
Local Variables
TR_Map
control
controlQ
strikeControl
teleportOnce
NoLore
T_Local_NPC
T_Local_NoLore
Source
1begin TR_m4_NPC_Milur
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 strikeControl
10short teleportOnce
11short NoLore
12short T_Local_NPC
13short T_Local_NoLore
14
15if ( OnDeath )
16 set teleportOnce to -1
17 set TR_m4_UshuKur_D_Milur.disableOnce to -1
18endif
19
20if ( teleportOnce < 0 )
21 Return
22endif
23
24if ( TR_m4_FG_UshuFree == 2 )
25 if ( GetDisabled == 0 )
26 disable
27 endif
28endif
29
30if ( TR_m4_FG_UshuFree >= 3 )
31 if ( GetDisabled == 1 )
32 enable
33 endif
34endif
35
36if ( TR_Map == 4 )
37 return
38endif
39
40set TR_Map to 4
41
42End