TR_FM_NPC_WorkerStage5_sc
TR_Mainland.esm
Variables
6
Local Variables
T_Local_NPC
TR_Map
NoLore
TR_FM_Worker
control
controlQ
Source
1Begin TR_FM_NPC_WorkerStage5_sc
2
3short T_Local_NPC
4short TR_Map
5short NoLore
6short TR_FM_Worker
7short control
8short controlQ
9
10if ( CellChanged == 0 )
11 Return
12endif
13
14if ( GetDisabled )
15 if ( TR_FM_Glob_State >= 5 )
16 if ( TR_FM_Glob_State < 8 )
17 Enable
18 endif
19 endif
20 Return
21elseif ( TR_FM_Glob_State < 5 )
22 Disable
23elseif ( TR_FM_Glob_State >= 8 )
24 Disable
25endif
26
27if ( TR_Map )
28 Return
29endif
30
31set TR_Map to 4
32
33End