TR_m3_NPC_CyrtusClagno
TR_Mainland.esm
Variables
6
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m3_NPC_CyrtusClagno
2
3short TR_Map
4short control
5short controlQ
6short NoLore
7short T_Local_NPC
8short T_Local_NoLore
9
10if ( MenuMode )
11 return
12endif
13
14if ( CellChanged )
15 if ( GetJournalIndex TR_m3_IC_OE_TheftBrass >= 100 )
16 if ( GetHealth > 0 )
17 disable
18 endif
19 endif
20endif
21
22if ( GetAttacked )
23 if ( control == 0 )
24 set control to 1
25 endif
26endif
27
28if ( control == 1 )
29 PlaceAtPC "dwarven ghost" 1 128 2
30 PlaceAtPC "dwarven ghost" 1 128 3
31 set control to -1
32endif
33
34if ( TR_Map )
35 return
36endif
37
38set TR_Map to 3
39
40End