TR_m3_NPC_OE_Nagheen
TR_Mainland.esm
Variables
6
Local Variables
TR_Map
control
controlQ
NoLore
doOnce
T_Local_NPC
Source
1Begin TR_m3_NPC_OE_Nagheen
2
3short TR_Map
4short control
5short controlQ
6short NoLore
7short doOnce
8short T_Local_NPC
9
10if ( doOnce == 0 )
11 "TR_m3_Nagheen"-> PositionCell, 1932, -175, 629, 0, "Old Ebonheart, Sewers: East"
12 "TR_m3_Nagheen"->AIWander, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
13 set doOnce to 1
14endif
15
16if ( doOnce == 1 )
17 if ( getDeadCount "TR_m3_S'khara" > 0 )
18 if ( getDeadCount "TR_m3_Nagheen" == 0 )
19 if ( CellChanged == 1 )
20 ResetActors
21 set doOnce to 2
22 endif
23 endif
24 endif
25endif
26
27if ( doOnce == 1 )
28 if ( control == 1 )
29 if ( getDeadCount "TR_m3_Nagheen" == 0 )
30 if ( CellChanged == 1 )
31 ResetActors
32 set doOnce to 2
33 endif
34 endif
35 endif
36endif
37
38if ( TR_Map == 3 )
39 return
40endif
41
42set TR_Map to 3
43
44End