Scripts

TR_m3_NPC_OE_AntioFlorane

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
T_Local_NoLore
Source
1Begin TR_m3_NPC_OE_AntioFlorane 2 3; Script on NPC "TR_m3_Antio Florane" for various OE Thieves Guild quests. 4 5short TR_Map 6short control 7short controlQ 8short T_Local_NPC 9short NoLore 10short T_Local_NoLore 11 12if ( OnDeath ) 13 if ( GetJournalIndex "TR_m3_TG_Moranie3" >= 5 ) ; died in Raathim tomb 14 set TR_m3_OE_TG_AntioDead to 3 15 elseif ( GetJournalIndex "TR_m3_TG_Fentus5" >= 10 ) ; died in Chunzefk 16 set TR_m3_OE_TG_AntioDead to 2 17 else ; died in Saldro tomb (or anywhere before Chunzefk) 18 set TR_m3_OE_TG_AntioDead to 1 19 additem bk_firmament 1 20 endif 21endif 22 23if ( TR_m3_OE_TG_AntioDead ) 24 return 25endif 26 27if ( GetJournalIndex "TR_m3_TG_Moranie3" >= 35 ) 28 if ( GetDisabled == 0 ) 29 disable 30 endif 31elseif ( GetJournalIndex "TR_m3_TG_Moranie3" >= 25 ) 32 if ( GetDisabled ) 33 enable 34 endif 35elseif ( GetJournalIndex "TR_m3_TG_Fentus5" >= 100 ) 36 if ( GetDisabled == 0 ) 37 disable 38 endif 39elseif ( GetJournalIndex "TR_m3_TG_Fentus5" >= 10 ) 40 if ( GetDisabled ) 41 enable 42 endif 43elseif ( GetJournalIndex "TR_m3_TG_Fentus3" >= 100 ) 44 if ( GetDisabled == 0 ) 45 disable 46 endif 47elseif ( GetJournalIndex "TR_m3_TG_Fentus3" >= 10 ) 48 if ( GetDisabled ) 49 enable 50 endif 51elseif ( GetDisabled == 0 ) 52 disable 53endif 54 55if ( TR_Map == 3 ) 56 return 57endif 58 59set TR_Map to 3 60 61End