TR_m7_HO_TT_npc_UlsHostScp
TR_Mainland.esm
Variables
10
Local Variables
NoLore
T_Local_NoLore
T_Local_NPC
control
controlQ
controlQ1
controlV
TR_Map
doonce
done
Source
1begin TR_m7_HO_TT_npc_UlsHostScp
2
3short NoLore
4short T_Local_NoLore
5short T_Local_NPC
6short control
7short controlQ
8short controlQ1
9short controlV
10short TR_Map
11short doonce
12short done
13
14
15
16; disable until right conditions are met
17if ( GetJournalIndex TR_m7_HO_TT_07 < 100 ) ; Q7 needs to be done
18 if ( GetDisabled == 0 )
19 Disable
20 endif
21else
22 if ( GetDisabled == 1 )
23 if ( getDeadCount "TR_m7_Gilner Herano" == 1 ) ; gilner needs to be dead
24 if ( control == 0 ) ; gilner can't have died acceptably
25 Enable
26 endif
27 endif
28 endif
29endif
30
31; shouting at you when you go to the south gate
32
33if ( doonce == 0 )
34 if ( "TR_m7_q_Uls Herano_host"->GetTarget player == 0 )
35 if ( GetDisabled == 0 )
36 if ( getDeadCount "TR_m7_q_Uls Herano_host" == 0 )
37 if ( GetDistance, player <= 700 )
38 ForceGreeting
39 set doonce to 1
40 endif
41 endif
42 endif
43 endif
44endif
45
46
47if ( TR_Map == 0 )
48 set TR_Map to 7
49endif
50
51end