Scripts

TR_m3_q_EndulThelvil_sc

TR_Mainland.esm
Variables 8
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
T_Local_NoLore
doOnce
TR_m3_Vr_BoundHelp_tp
Source
1Begin TR_m3_q_EndulThelvil_sc 2 3short TR_Map 4short control 5short controlQ 6short T_Local_NPC 7short NoLore 8short T_Local_NoLore 9short doOnce 10 11short TR_m3_Vr_BoundHelp_tp 12 13if ( control == 0 ) 14 if ( GetDistance "TR_m3_q_Qa'Jarsha" <= 500 ) 15 "TR_m3_q_Qa'Jarsha"->AiWander 0 0 0 60 20 10 16 set control to 1 17 endif 18endif 19 20; Ends quest if Endul is dead 21if ( OnDeath ) 22 If ( GetJournalIndex TR_m3_Vr_BoundHelp >= 10 ) 23 If ( GetJournalIndex TR_m3_Vr_BoundHelp < 100 ) 24 Journal TR_m3_Vr_BoundHelp 130 25 endif 26 EndIf 27EndIf 28 29if ( TR_Map ) 30 return 31endif 32 33set TR_Map to 3 34 35End