Scripts

TR_m3_NPC_Tirill_Vantius

TR_Mainland.esm
Variables 5
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
Source
1;Local script on the NPC or creature 2 3Begin TR_m3_NPC_Tirill_Vantius 4 5short TR_Map 6short control 7short controlQ 8short T_Local_NPC 9short NoLore 10 11if ( OnDeath ) 12 if ( GetjournalIndex "TR_m3_Dar_Simplecartography" > 0 ) 13 if ( GetjournalIndex "TR_m3_Dar_Simplecartography" < 40 ) 14 Journal "TR_m3_Dar_Simplecartography" 50 15 endif 16 endif 17endif 18 19if ( CellChanged ) 20 if ( GetDisabled == 0 ) 21 if ( getDeadCount "TR_m3_Tirill_Vantius" == 0 ) 22 if ( Getjournalindex "TR_m3_Dar_Simplecartography" >= 40 ) 23 disable 24 endif 25 endif 26 endif 27endif 28 29if ( TR_Map == 3 ) 30 return 31endif 32 33set TR_Map to 3 34 35End