TR_m4_NPC_AndoCTThug02
TR_Mainland.esm
Variables
8
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
disableOnce
greetOnce
Source
1Begin TR_m4_NPC_AndoCTThug02
2
3short TR_Map
4short control
5short controlQ
6short NoLore
7short T_Local_NPC
8short T_Local_NoLore
9short disableOnce
10short greetOnce
11
12if ( disableOnce == 0 )
13 disable
14 set disableOnce to 1
15endif
16
17if ( GetJournalIndex "TR_m4_TG_Shei6" >= 110 )
18 if ( GetJournalIndex "TR_m4_TG_Shei6" <= 125 )
19 disable
20 return
21 endif
22endif
23
24if ( GetJournalIndex "TR_m4_TG_ThreeEyes2" >= 100 )
25 if ( GetDisabled == 1 )
26 enable
27 if ( GetJournalIndex "TR_m4_TG_Tattara1" < 100 )
28 additem "TR_m4_TG_IllegalJinkblade02" 1
29 elseif ( GetJournalIndex "TR_m4_TG_Tattara1" >= 200 )
30 additem "TR_m4_TG_IllegalJinkblade02" 1
31 endif
32 endif
33endif
34
35if ( GetDistance, player < 177 )
36 if ( GetDisabled == 0 )
37 if ( greetOnce == 0 )
38 ForceGreeting
39 set greetOnce to 1
40 endif
41 endif
42endif
43
44if ( TR_Map == 4 )
45 return
46endif
47
48set TR_Map to 4
49
50End