TR_m1_q_Azariah
TR_Mainland.esm
Variables
6
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
doonce
Source
1Begin TR_m1_q_Azariah
2; This short script is there to allow dialogue to be filtered on the TR_Map local variable,
3; allowing for regional topics such as "Morrowind Lore" or "Geographic Regions" to be
4; appropriate to the location the NPC is.
5
6short TR_Map
7short control
8short controlQ
9short T_Local_NPC
10short NoLore
11
12short doonce
13
14if ( OnDeath )
15 if ( GetJournalIndex "TR_m1_HT_Rathra_q4" >= 10 )
16 if ( GetJournalIndex "TR_m1_HT_Rathra_q4" < 100 )
17 Journal "TR_m1_HT_Rathra_q4" 160
18 endif
19 endif
20endif
21
22if ( GetJournalIndex TR_m1_RR_MQ_8 >= 50 )
23 if ( doonce == 0 )
24 disable ;may change to PositionCell later
25 Journal TR_m1_RR_MQ_8 70
26 addtopic "Azariah escaped"
27 set doonce to 1
28 endif
29endif
30
31if ( TR_Map )
32 return
33endif
34
35set TR_Map to 1
36
37End