TR_m7_NPC_Godyna_Thendas
TR_Mainland.esm
Variables
5
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
Source
1Begin TR_m7_NPC_Godyna_Thendas
2
3short TR_Map
4short control
5short controlQ
6short T_Local_NPC
7short NoLore
8
9if ( cellChanged )
10 if ( controlQ == 0 )
11 if ( getjournalindex TR_m7_ShiSha_Sense == 10 )
12 set controlQ to 1
13 return
14 endif
15 endif
16endif
17
18if ( controlQ == 0 )
19 if ( getjournalindex TR_m7_ShiSha_Sense == 10 )
20 if ( GetDistance player <= 360)
21 if ( player->GetPos Z >= 12600 ) ; to avoid forcegreeting from another floor
22 set controlQ to 1
23 ForceGreeting
24 endif
25 endif
26 endif
27endif
28
29if ( TR_Map == 7 )
30 return
31endif
32
33set TR_Map to 7
34
35End