TR_m2_q_Nm_Wake_vanrythscr
TR_Mainland.esm
Variables
7
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
OnPCHitme
Source
1Begin TR_m2_q_Nm_Wake_vanrythscr
2; Once Vanryth has told you the truth he becomes entirely passive, so he won't fight back when you kill him. If you said that you let him live, he will still defend himself.
3
4short TR_Map
5short control
6short controlQ
7short NoLore
8short T_Local_NPC
9short T_Local_NoLore
10Short OnPCHitme
11
12if ( getJournalIndex TR_m2_Nm_Wake != 80 )
13 if ( OnPCHitMe == 1 )
14 set OnPCHitMe to 0
15 SetFight 100
16 SetFlee 0
17 StartCombat Player
18 endif
19elseif ( OnPCHitMe == 1 )
20 set OnPCHitMe to 0
21 SetFight 0
22 SetFlee 0
23 StopCombat
24endif
25
26if ( TR_Map == 2 )
27 return
28endif
29
30set TR_Map to 2
31
32End