TR_m2_q_12_Tarbus
TR_Mainland.esm
Variables
7
Local Variables
TR_Map
control
controlQ
disabled
NoLore
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m2_q_12_Tarbus
2;q2-12-Misc Avenge the Knights - Local script, placed on Tarbus Norin.
3;To keep track of if he dies and cell changes, for late in the quest.
4
5;May2018edit: added same script to Merias Tolode,
6;in order to clean getdeadcounts from old script TR_m2_q_12_Counter
7
8short TR_Map
9short control
10short controlQ
11short disabled
12short NoLore
13short T_Local_NPC
14short T_Local_NoLore
15
16if ( OnDeath )
17 if ( getDeadCount "TR_m2_Merias Tolode" > 0 )
18 if ( getDeadCount "TR_m2_Tarbus Norin" > 0 )
19 if ( GetJournalIndex "TR_m2_Wil_AvengeKnights" == 20 )
20 Journal, TR_m2_Wil_AvengeKnights, 40
21 endif
22 endif
23 endif
24endif
25
26if ( CellChanged )
27 if ( disabled == 1 )
28 Disable
29 "TR_m2_Merias Tolode"->Disable
30 endif
31endif
32
33if ( TR_Map == 2 )
34 return
35endif
36
37set TR_Map to 2
38
39End