Scripts

TR_m3_NPC_Bidsi_Omathi

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m3_NPC_Bidsi_Omathi 2 3short TR_Map 4short control 5short controlQ 6short NoLore 7short T_Local_NPC 8short T_Local_NoLore 9 10if ( GetJournalIndex TR_m3_AT_Matter_Record >= 200 ) 11 return 12endif 13 14if ( GetJournalIndex TR_m3_AT_Matter_Record >= 100 ) 15 if ( getDeadCount "TR_m3_Bidsi Omathi" == 0 ) 16 if ( CellChanged ) 17 if ( GetDisabled == 0 ) 18 Disable 19 endif 20 endif 21 endif 22 return 23elseif ( GetDisabled ) 24 enable 25endif 26 27if ( OnDeath ) 28 if ( GetJournalIndex TR_m3_AT_Matter_Record > 0 ) 29 Journal TR_m3_AT_Matter_Record 200 30 return 31 endif 32endif 33 34if ( TR_Map ) 35 return 36endif 37 38set TR_Map to 3 39 40End