TR_m2_q_27_mineguard_SCN
TR_Mainland.esm
Variables
4
Local Variables
TR_Map
control
T_Local_NPC
NoLore
Source
1Begin TR_m2_q_27_mineguard_SCN
2
3short TR_Map
4short control
5short T_Local_NPC
6short NoLore
7
8if ( onDeath )
9 if ( getJournalIndex TR_m2_FG_Amiro3 < 60 )
10 if ( getJournalIndex TR_m2_FG_Amiro3 >= 30 )
11 ; This is when the player decides to help the slaves in quest
12 ; TR_m2_FG_Amiro3 by killing the guard that is watching over
13 ; the road. Since the guard respawns (and should respawn),
14 ; I am setting a global variable to 1 rather than using
15 ; getDeadCount.
16 Journal TR_m2_FG_Amiro3 58
17 set TR_m2_q_27_guardkilled to 1
18 endif
19 endif
20endif
21
22if ( CellChanged )
23 if ( TR_m2_q_27_guardkilled == 1 )
24 ; She should be dead for good now.
25 disable
26 endif
27endif
28
29if ( TR_Map > 0 )
30 return
31endif
32
33set TR_Map to 2
34
35End