TR_m4_NPC_Therric_Radvienne
TR_Mainland.esm
Variables
5
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
Source
1Begin TR_m4_NPC_Therric_Radvienne
2
3short TR_Map
4short control
5short controlQ
6short NoLore
7short T_Local_NPC
8
9if ( MenuMode )
10 return
11endif
12
13if ( TR_m4_AndoHH_ShipTrespass == 1 )
14 if ( CellChanged )
15 Set control to 1 ; to prevent him from force greeting you the same frame as entering store room
16 endif
17 if ( control == 1 )
18 if ( controlQ == 0 )
19 if ( GetDistance Player < 250 )
20 Set controlQ to 1
21 ForceGreeting
22 endif
23 endif
24 endif
25endif
26
27if ( TR_Map == 4 )
28 return
29endif
30
31set TR_Map to 4
32
33End