Scripts

TR_m7_Dilvam_sc

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