TR_m7_NPC_Mendyn_Hereloth
TR_Mainland.esm
Variables
6
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
T_Local_NoLore
Source
1Begin TR_m7_NPC_Mendyn_Hereloth
2
3short TR_Map
4short control
5short controlQ
6short T_Local_NPC
7short NoLore
8short T_Local_NoLore
9
10if ( OnDeath )
11 set controlQ to 1
12endif
13
14if ( CellChanged == 1 )
15 if ( GetDisabled == 0 )
16 if ( GetJournalIndex TR_m7_HR_AldIuval_q4 < 10 )
17 Disable
18 elseif ( GetJournalIndex TR_m7_HR_AldIuval_q4 >= 30 )
19 Disable
20 endif
21 elseif ( GetJournalIndex TR_m7_HR_AldIuval_q4 == 10 )
22 Enable
23 endif
24endif
25
26if ( MenuMode == 0 )
27 if ( GetJournalIndex TR_m7_HR_AldIuval_q4_a == 100 )
28 if ( controlQ == 0 )
29 ForceGreeting
30 endif
31 endif
32endif
33
34if ( TR_Map == 7 )
35 return
36endif
37
38set TR_Map to 7
39
40End