TR_m4_NPC_Drolora_Oran
TR_Mainland.esm
Variables
7
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
OnPCHitMe
Source
1Begin TR_m4_NPC_Drolora_Oran
2
3short TR_Map
4short control
5short controlQ
6short NoLore
7short T_Local_NPC
8short T_Local_NoLore
9short OnPCHitMe
10
11if ( TR_m3_WLCR_FightDeath )
12 if ( CellChanged )
13 if ( GetDisabled == 0 )
14 Disable
15 endif
16 endif
17elseif ( GetJournalIndex TR_m3_Bala_WLCR < 40 )
18 if ( GetDisabled )
19 Enable
20 endif
21elseif ( GetJournalIndex TR_m3_Bala_WLCR >= 210 )
22 if ( GetDisabled )
23 Enable
24 endif
25elseif ( GetJournalIndex TR_m3_Bala_WLCR >= 80 )
26 if ( CellChanged )
27 if ( GetDisabled == 0 )
28 Disable
29 endif
30 endif
31elseif ( GetJournalIndex TR_m3_Bala_WLCR >= 60 )
32 if ( GetDisabled )
33 Enable
34 endif
35elseif ( GetPCCell "Almas Thirr, Canalworks" == 1 )
36 if ( GetDisabled == 0 )
37 Disable
38 endif
39 return
40endif
41
42if ( OnDeath )
43 if ( GetJournalIndex TR_m3_Bala_WLCR >= 10 )
44 if ( GetJournalIndex TR_m3_Bala_WLCR < 100 )
45 Journal TR_m3_Bala_WLCR 240
46 endif
47 endif
48 if ( GetPCCell "Almas Thirr" == 1 )
49 set TR_m3_WLCR_FightDeath to 1
50 endif
51endif
52
53if ( OnPCHitMe )
54 if ( GetJournalIndex TR_m3_Bala_WLCR == 60 )
55 if ( TR_m3_WLCR_KidnappersGreet == 0 )
56 set TR_m3_WLCR_KidnappersGreet to 1
57 "TR_m3_WLCR_Kidnapper1"->Forcegreeting
58 "TR_m3_Dolvys Teloth"->PositionCell -68 1027 -254 1800 "Almas Thirr, Canalworks"
59 "TR_m3_Dolvys Teloth"->AiFollow player 0 0 0 0
60 "TR_m3_Dolvys Teloth"->SetHello 30
61 return
62 endif
63 endif
64 StartCombat player
65endif
66
67if ( TR_Map )
68 return
69endif
70
71set TR_Map to 4
72
73End