TR_m2_q_12_JerasTicedo
TR_Mainland.esm
Variables
8
Local Variables
controlQ
BanditD
attackplayer
dooncetwo
factoryfound
TR_Map
T_Local_NPC
NoLore
Source
1begin TR_m2_q_12_JerasTicedo
2;Script for Jeras Ticedo, to check if the orcs have died.
3short controlQ ; 0 - No Orders\1 - Talk to Nedheleg\ 2 - Orcs Dead
4short BanditD
5short attackplayer
6short dooncetwo
7short factoryfound
8short TR_Map
9short T_Local_NPC
10short NoLore
11
12if ( BanditD == 0 )
13 if ( getDeadCount "TR_m2_BugdulgroGulfis" >= 1 )
14 if ( getDeadCount "TR_m2_O_Ushugoba" >= 1 )
15 if ( getDeadCount "TR_m2_BogamulgroGulfis" >= 1 )
16 set BanditD to 3
17 endif
18 endif
19 endif
20endif
21
22if ( attackplayer == 1 )
23 if ( GetDistance, Player < 3000 )
24 StartCombat, Player
25 endif
26endif
27
28if ( TR_m2_q12_FactoryDoor.factoryfound == 1 )
29 if ( dooncetwo == 0 )
30 set factoryfound to 1
31 set dooncetwo to 1
32 endif
33endif
34
35if ( TR_Map == 2 )
36 return
37endif
38
39set TR_Map to 2
40
41end TR_m2_q_12_JerasTicedo