TR_m7_AI_TT_GarnasSc
TR_Mainland.esm
Variables
6
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m7_AI_TT_GarnasSc
2
3short TR_Map
4short control
5short controlQ
6short NoLore
7short T_Local_NPC
8short T_Local_NoLore
9
10if ( controlQ == 1 )
11 return
12endif
13
14if ( control == 0 )
15 Disable
16 set control to 1
17endif
18
19if ( OnDeath == 1 )
20 if ( GetJournalIndex "TR_m7_AI_TT_Q5" >= 90 )
21 if ( GetJournalIndex "TR_m7_AI_TT_Q6" == 0 )
22 AddItem "TR_m7_AI_TT_Dagger" 1
23 endif
24 endif
25endif
26
27if ( GetJournalIndex TR_m7_AI_TT_Q6 > 0 )
28 if ( OnActivate == 1 )
29 MessageBox "Garnas has been dead for a long time now. From his wounds, it looks like he was murdered. There are tracks leading westward along the path from here."
30 activate
31 AddTopic "Garnas Mano's death"
32 set controlQ to 1
33 Journal TR_m7_AI_TT_Q6 20
34 endif
35endif
36
37if ( TR_Map != 0 )
38 return
39endif
40
41set TR_Map to 7
42
43End