Scripts

TR_m1_T_DralSc

TR_Mainland.esm TR_Factions.esp
Variables 6
Local Variables
TR_Map
NoLore
control
controlQ
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m1_T_DralSc 2 3short TR_Map 4short NoLore 5short control 6short controlQ 7short T_Local_NPC 8short T_Local_NoLore 9 10if ( OnDeath == 1 ) 11 if ( GetDeadCount "TR_m1_T_Malvas_Relvani" == 0 ) ;if not already the case from his Mouth's death, 12 Set TelvanniDead to ( TelvanniDead + 1 ) ;make his death count towards dead Councilors 13 endif 14endif 15 16if ( GetDisabled == 0 ) ;this character is planned to be absent during the Telvanni questline 17 if ( GetJournalIndex "B7_TelvanniHort" < 50 ) 18 if ( GetJournalIndex "A2_6_Incarnate" >= 50 ) ;for now, only disabled during the Hortator quest 19 Disable 20 endif 21 endif 22elseif ( GetJournalIndex "TR_B7_DralHort" < 20 ) 23 if ( player->GetPos, Z >= 14750 ) 24 if ( GetJournalIndex "TR_B7_DralHort" >= 5 ) 25 Journal "TR_B7_DralHort" 30 26 else 27 Journal "TR_B7_DralHort" 20 28 addtopic "Rilvin Dral" 29 endif 30 endif 31elseif ( GetJournalIndex "B7_TelvanniHort" >= 50 ) 32 Enable 33endif 34 35if ( TR_Map == 1 ) 36 return 37endif 38 39set TR_Map to 1 40 41End