TR_m4_NPC_Danwendy
TR_Mainland.esm
Variables
7
Local Variables
TR_Map
control
controlQ
nolore
doOnce
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m4_NPC_Danwendy
2
3short TR_Map
4short control
5short controlQ
6short nolore
7short doOnce
8short T_Local_NPC
9short T_Local_NoLore
10
11if ( doOnce == 0 )
12 Disable
13 set doOnce to 1
14endif
15
16if ( GetJournalIndex "TR_m4_wil_TaxmanIndalruhn" == 10 )
17 if ( GetDisabled == 1 )
18 enable
19 endif
20endif
21
22if ( GetJournalIndex "TR_m4_wil_TaxmanIndalruhn" == 10 )
23 if ( GetDistance, "TR_m4_Tullo Verotus" <= 750 )
24 if ( controlQ == 0 )
25 ForceGreeting
26 set controlQ to 1
27 endif
28 endif
29endif
30
31if ( TR_Map == 4 )
32 return
33endif
34
35set TR_Map to 4
36
37End