Scripts

TR_m7_q_DerveraSathen_sc

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m7_q_DerveraSathen_sc 2 3short TR_Map 4short control 5short controlQ 6short NoLore 7short T_Local_NPC 8short T_Local_NoLore 9 10if ( OnDeath == 1 ) 11 if ( GetJournalIndex "TR_m7_IL_HL_Q4" < 100 ) 12 Journal "TR_m7_IL_HL_Q4" 30 13 set control to 1 14 endif 15endif 16 17if ( OnMurder == 1 ) 18 if ( GetJournalIndex "TR_m7_IL_HL_Q4" < 110 ) 19 Journal "TR_m7_IL_HL_Q4" 110 20 set control to 1 21 endif 22endif 23 24if ( GetJournalIndex "TR_m7_IL_HL_Q3" < 33 ) 25 if ( GetDisabled ) 26 return 27 else 28 Disable 29 endif 30elseif ( GetJournalIndex "TR_m7_IL_HL_Q4" < 100 ) 31 if ( GetJournalIndex "TR_m7_IL_HL_Q3" >= 33 ) 32 if ( GetDisabled ) 33 Enable 34 else 35 return 36 endif 37 endif 38elseif ( GetJournalIndex "TR_m7_IL_HL_Q4" >= 100 ) 39 if ( GetDisabled ) 40 return 41 else 42 if ( control == 1 ) 43 return 44 else 45 Disable 46 endif 47 endif 48endif 49 50 51 52set TR_Map to 7 53 54End