TR_m4_NPC_Gelvu_Andas
TR_Mainland.esm
Variables
10
Local Variables
TR_Map
control
controlQ
mazteControl
dealControl
veinControl
NoLore
T_Local_NPC
T_Local_NoLore
doOnce
Source
1begin TR_m4_NPC_Gelvu_Andas
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 mazteControl
10short dealControl
11short veinControl
12short NoLore
13short T_Local_NPC
14short T_Local_NoLore
15;global TR_m4_FG_UshuFree
16short doOnce
17
18if ( doOnce == 0 )
19 set doOnce to 1
20 if ( GetDeadCount TR_m4_Jubal_Orda == 0 )
21 TR_m4_Jubal_Orda->PositionCell 4268 4389 14183 20520 "Ushu-Kur Mine, Company Office" ; TR_m4_MARK_Jubal
22 TR_m4_Jubal_Orda->AIWander 0 0 0 0 10 60 20 10 0 0 0 0 0
23 TR_m4_Jubal_Orda->Enable
24 endif
25endif
26
27if ( TR_m4_FG_UshuFree == 2 )
28 if ( GetDisabled == 0 )
29 disable
30 endif
31endif
32
33if ( MenuMode == 0 )
34 if ( TR_m4_FG_UshuFree >= 3 )
35 if ( GetDisabled == 1 )
36 PlaceAtMe "T_Glb_Var_SummonFX" 1 1 1
37 enable
38 endif
39 endif
40endif
41
42if ( OnDeath )
43 set TR_m4_UshuKur_D_Gelvu.disableOnce to -1
44endif
45
46if ( TR_Map == 4 )
47 return
48endif
49
50set TR_Map to 4
51
52End