TR_m7_Orhak_gro-Orhak_scr
TR_Mainland.esm
Variables
6
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m7_Orhak_gro-Orhak_scr
2
3short TR_Map
4short control
5short controlQ
6short NoLore
7short T_Local_NPC
8short T_Local_NoLore
9
10if ( controlQ == 0 ) ; he shouts at the player no matter what, the outcome is determined by the dialogue that comes up
11 if ( "TR_m7_Orhak gro-Orhak"->GetTarget player == 0 )
12 if ( GetDisabled == 0 )
13 if ( getDeadCount "TR_m7_Orhak gro-Orhak" == 0 )
14 if ( GetDistance player <= 1200 )
15 ForceGreeting
16 set controlQ to 1
17 endif
18 endif
19 endif
20 endif
21endif
22
23
24if ( TR_Map )
25 return
26endif
27
28set TR_Map to 7
29
30End