TR_m4_MG_Adric_Sc
TR_Mainland.esm
Variables
7
Local Variables
NoLore
T_Local_NoLore
TR_Map
control
controlQ
T_Local_NPC
timer
Source
1Begin TR_m4_MG_Adric_Sc
2
3short NoLore
4short T_Local_NoLore
5short TR_Map
6short control
7short controlQ
8short T_Local_NPC
9float timer
10
11if ( TR_Map == 0 )
12 set TR_Map to 4
13endif
14
15if ( GetDisabled )
16 if ( GetJournalIndex TR_m4_MG_Ando_7 >= 10 )
17 if ( GetJournalIndex TR_m4_MG_Ando_7 < 120 )
18 Enable
19 endif
20 endif
21else
22 if ( GetJournalIndex TR_m4_MG_Ando_7 < 10 )
23 Disable
24 endif
25endif
26
27if ( control == 0 )
28 if ( GetInterior == 0 )
29 set timer to ( timer + getsecondspassed )
30 if ( timer >= 3 )
31 ForceGreeting
32 set control to 1
33 set timer to 0
34 endif
35 endif
36endif
37
38End