TR_m7_Kalk_Fight_OrcLeader
TR_Mainland.esm
Variables
6
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m7_Kalk_Fight_OrcLeader
2
3short TR_Map
4short control
5short controlQ
6short NoLore
7short T_Local_NPC
8short T_Local_NoLore
9
10if ( OnDeath )
11 set TR_m7_Kalk_Fight_OrcDead to ( TR_m7_Kalk_Fight_OrcDead + 1 )
12endif
13
14if ( control == 0 )
15 if ( GetDeadCount "TR_m7_Kalk_GoblinLead" == 0 )
16 StartCombat "TR_m7_Kalk_GoblinLead"
17 set control to 1
18 endif
19elseif ( control == 1 )
20 if ( TR_m7_Kalk_Fight_GoblinDead >= 8 )
21 SetFight 90
22 set control to 2
23 endif
24endif
25
26if ( TR_Map == 7 )
27 return
28endif
29
30set TR_Map to 7
31
32End