TR_m4_q_Amandin2_sc
TR_Mainland.esm
Variables
5
Local Variables
T_Local_NPC
T_Local_NoLore
TR_Map
control
nolore
Source
1Begin TR_m4_q_Amandin2_sc
2
3short T_Local_NPC
4short T_Local_NoLore
5short TR_Map
6short control
7short nolore
8
9if ( GetDisabled )
10 return
11endif
12
13if ( TR_m4_LostTransit_Control_glb == 23 )
14 if ( GetPCSleep == 0 )
15 set TR_m4_LostTransit_Control_glb to 24
16 ForceGreeting
17 endif
18elseif ( TR_m4_LostTransit_Control_glb == 25 )
19 if ( CellChanged )
20 if ( GetDistance player > 10000 )
21 Disable
22 set TR_m4_LostTransit_Control_glb to 26
23 StopScript TR_m4_LostTransit_Control_sc
24 endif
25 endif
26endif
27
28if ( OnDeath )
29 StopScript TR_m4_LostTransit_Control_sc
30endif
31
32if ( TR_Map == 0 )
33 set TR_Map to 4
34endif
35
36End