TR_m1_q_Nevrile
TR_Mainland.esm
Variables
8
Local Variables
TR_Map
control
currentDay
daysPassed
doonce
startCount
T_Local_NPC
NoLore
Source
1Begin TR_m1_q_Nevrile
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 currentDay
9short daysPassed
10short doonce
11short startCount
12short T_Local_NPC
13short NoLore
14
15if ( startCount == 1 )
16 StartScript TR_m1_q_HT_Mi_BreakTimer
17 set startCount to 2
18endif
19
20if ( startCount == 2 )
21 if ( TR_m1_q_HT_Mi_BreakTimer.daysPassed >= 2 )
22 set daysPassed to 1
23 set startCount to 3
24 endif
25endif
26
27if ( CellChanged == 0 )
28 return
29endif
30
31if ( GetDisabled == 0 )
32 if ( GetDeadCount TR_m1_T_Mithras >= 1 )
33 Disable
34 return
35 endif
36endif
37
38if ( TR_Map == 1 )
39 return
40endif
41
42set TR_Map to 1
43
44End