Scripts

TR_m7_NPC_HR_AldIuval_CatCatch

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