Scripts

TR_m4_q_Fjorrod

TR_Mainland.esm
Variables 7
Local Variables
TR_Map
control
controlQ
NoLore
IsDead
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m4_q_Fjorrod 2 3short TR_Map 4short control 5short controlQ 6short NoLore 7short IsDead 8short T_Local_NPC 9short T_Local_NoLore 10 11If ( MenuMode == 1 ) 12 Return 13EndIf 14 15If ( OnDeath ) 16 If ( GetJournalIndex "TR_m4_wil_NakedWitch" > 10 ) 17 Journal TR_m4_wil_NakedWitch 46 18 EndIf 19 Set IsDead to 1 20EndIf 21 22If ( IsDead == 0 ) 23 If ( GetJournalIndex "TR_m4_wil_NakedWitch" >= 100 ) ; disable on quest end if alive 24 If ( GetJournalIndex "TR_m4_wil_NakedWitch" != 104 ) ; this case is handled by TR_m4_q_NakedWitchWalkScript 25 If ( Player->GetDistance, "TR_m4_Fjorrod" > 8192 ) ; make sure the PC is not nearby 26 If ( "TR_m4_Fjorrod"->GetDisabled == 0 ) 27 "TR_m4_Fjorrod"->Disable 28 EndIf 29 EndIf 30 EndIf 31 EndIf 32EndIf 33 34If ( TR_Map == 4 ) 35 return 36EndIf 37 38set TR_Map to 4 39 40End