Scripts

TR_m1_q_Miriaya_sc

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
T_Local_NPC
T_Local_NoLore
NoLore
Source
1Begin TR_m1_q_Miriaya_sc 2 3short TR_Map 4short control 5short controlQ 6short T_Local_NPC 7short T_Local_NoLore 8short NoLore 9 10if ( GetJournalIndex "TR_m1_HT_Rathra_q6" < 10 ) 11 if ( GetDisabled == 0 ) 12 disable 13 endif 14elseif ( GetDisabled ) 15 enable 16endif 17 18if ( OnDeath ) 19 set TR_m1_HT_Rathra_q6_MineDead to ( TR_m1_HT_Rathra_q6_MineDead + 1 ) 20 if ( GetJournalIndex "TR_m1_HT_Rathra_q6" == 10 ) 21 if ( TR_m1_HT_Rathra_q6_MineDead >= 8 ) 22 Journal "TR_m1_HT_Rathra_q6" 20 23 endif 24 endif 25endif 26 27if ( TR_Map ) 28 return 29endif 30 31set TR_Map to 1 32 33End