TES3 HEDR, ff? p MAST Morrowind.esm DATA u9 MAST Tribunal.esm DATA E MAST Bloodmoon.esm DATA 6 MAST TR_Data.esm DATA 5 GLOB0 NAME TR_m2_WM_Rethrathi FNAM sFLTV SCPT SCHD4 TR_m2_q_36_ArvsScript SCVR TR_Map control controlQ NoLore SCDT s != 2s 2 X == 1$ s == 100$ X == 1GTR_m2_WM_Rethrathi 1s 100 X == 1GTR_m2_WM_Rethrathi 1s 100 SCTX Begin TR_m2_q_36_ArvsScript ; This script goes on Arvs Rethrathi (TR_m2_Arvs_Rethrathi) ; For quest TR_m2_MG_Francine3 it's necessary to record if Arvs is dead or disabled, ; Arvs' status is stored with the global variable TR_m2_WM_Rethrathi ;********************************************************************************** ; IMPORTANT: ; if some kind of 'Purge Fort Windmoth from corruption' quest is implemented, ; then the part which sets this global variable must be kept or carried over! ; 2013/03/23 6+ ;********************************************************************************** ; This short script is there to allow dialogue to be filtered on the TR_Map local variable, ; allowing for regional topics such as "Morrowind Lore" or "Geographic Regions" to be ; appropriate to the location the NPC is. Short TR_Map Short control Short controlQ Short NoLore if ( TR_Map != 2 ) Set TR_Map to 2 endif if ( MenuMode == 1 ) Return endif ; Arvs Rethathi now is dead and/or disabled, the script no longer needs to be run if ( controlQ == 100 ) Return endif ; if Arvs Rethrathi dies set TR_m2_WM_Rethrathi to 1 if ( OnDeath == 1 ) Set TR_m2_WM_Rethrathi to 1 Set controlQ to 100 endif ; if Arvs Rethrathi is disabled set TR_m2_WM_Rethrathi to 1 if ( GetDisabled == 1 ) Set TR_m2_WM_Rethrathi to 1 Set controlQ to 100 endif EndSCPT SCHD4 TR_m2_q_36_LetterScript SCVR control PCSkipEquip SCDT s == 10$ s == 0s 1 s == 1 X dTR_m2_MG_Francine3 == 10 GTR_m2_WM_Rethrathi >= 1s 2 X dTR_m2_MG_Francine3 > 10s 7 s == 2 X dTR_m2_MG_Francine3 == 90s 7$ s == 1TR_m2_MG_Francine3P s 10$ X == 1$ X == 1TR_m2_MG_Francine3P s 10 s == 7 X == 1 SCTX Begin TR_m2_q_36_LetterScript ; A letter from Telvanni wizard TR_m2_Rilmas Athyrion to the commander of Fort Windmoth TR_m2_Arvs_Rethrathi ; if Rethrathi is dead/disabled this letter is appears during TR_m2_MG_Francine3, otherwise it won't appear ; The global variable TR_m2_WM_Rethrathi stores Rethrathi's status Short control Short PCSkipEquip ; the player has got the journal update if ( control == 10 ) Return ; the letter is disabled at the beginning elseif ( control == 0 ) Disable Set control to 1 ; the quest has started, check Rethrathi's status ; if Rethrathi is dead or disabled TR_m2_WM_Rethrathi is greater than zero elseif ( control == 1 ) if ( GetJournalIndex TR_m2_MG_Francine3 == 10 ) if ( TR_m2_WM_Rethrathi >= 1 ) ;Rethrathi is dead or disabled - the letter appears Enable Set control to 2 endif elseif ( GetJournalIndex TR_m2_MG_Francine3 > 10 ) Set control to 7 ;the player has spoken to Rethrathi - the letter can be deleted endif ; the letter has been enabled, as soon as the player picks it up/reads it the journal is updated elseif ( control == 2 ) if ( GetJournalIndex TR_m2_MG_Francine3 == 90 ) Set control to 7 ;the player returned to Francine without the letter - delete it Return endif if ( PCSkipEquip == 1 ) Journal TR_m2_MG_Francine3 80 Set control to 10 Return endif if ( MenuMode == 1 ) Return endif if ( OnActivate == 1 ) Activate Journal TR_m2_MG_Francine3 80 Set control to 10 endif ; if the letter isn't needed it gets deleted permanently elseif ( control == 7 ) if ( GetDisabled == 1 ) SetDelete 1 else Disable endif endif EndNPC_ NAME TR_m2_Arvs_Rethrathi FNAM Arvs Rethrathi RNAM Dark Elf CNAM Guard ANAM TR_ImperialLegion BNAM b_n_dark elf_m_head_01 KNAM b_n_dark elf_m_hair_23 SCRI TR_m2_q_36_ArvsScript NPDT4 dE3RVd5(JJJJO@JA )) )) M2 FLAG NPCO$ TR_Aug_silver saber swiftblade NPCO$ templar belt NPCO$ common_pants_04 NPCO$ bonemold_bracer_right NPCO$ bonemold_bracer_left NPCO$ templar boots NPCO$ templar_pauldron_right NPCO$ templar_pauldron_left NPCO$ templar_cuirass NPCS firebloom NPCS Fireball_large NPCS fireball NPCS crushing burden touch NPCS shield NPCS fire shield AIDT d AI_W 2 < BOOK NAME TR_m2_q_36_LetterToAthyrion MODL m\Text_Parchment_01.nif FNAM Letter to Rilmas Athyrion BKDT = d ITEX m\Tx_parchment_01.tga TEXT