Scripts

TR_m3_OE_Fentus2_scp

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
NoLore
AntioAlive
dead
T_Local_NPC
T_Local_NoLore
Source
1begin TR_m3_OE_Fentus2_scp 2 3;a script that enables (and later disables) Fentus after the TG questline is over 4 5short TR_Map 6short NoLore 7short AntioAlive 8short dead ;set on this duplicate by the real NPC on death 9short T_Local_NPC 10short T_Local_NoLore 11 12if ( CellChanged ) 13 if ( GetDisabled ) 14 if ( dead ) 15 return 16 elseif ( GetJournalIndex "TR_m3_TG_Moranie3" == 110 ) ;finished the last quest 17 enable 18 endif 19 elseif ( GetJournalIndex "TR_m3_TG_Moranie3" != 110 ) 20 disable 21 endif 22endif 23 24if ( TR_Map == 3 ) 25 return 26endif 27 28set TR_Map to 3 29 30end