Scripts

TR_m7_Rosehearth_Death_sc

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
T_Local_NPC
T_Local_NoLore
NoLore
Source
1Begin TR_m7_Rosehearth_Death_sc 2; This short script is there to allow dialogue to be filtered on the TR_Map local variable, 3; allowing for regional topics such as "Morrowind Lore" or "Geographic Regions" to be 4; appropriate to the location the NPC is. 5 6short TR_Map 7short control 8short controlQ 9short T_Local_NPC 10short T_Local_NoLore 11short NoLore 12 13if ( OnDeath == 1 ) 14 if ( GetJournalIndex "TR_m7_Ns_TaleBreathBrine" > 0 ) 15 if ( GetDeadCount "TR_m7_Q_Tarith_Rose" > 0 ) 16 if ( GetDeadCount "TR_m7_Q_Norlan_Rose" > 0 ) 17 if ( GetJournalIndex "TR_m7_Ns_TaleBreathBrine" < 20 ) 18 if ( GetDeadCount "TR_m7_Q_Irene_Pelenitus" > 0 ) 19 Journal "TR_m7_Ns_TaleBreathBrine" 140 20 endif 21 elseif ( GetJournalIndex "TR_m7_Ns_TaleBreathBrine" < 100 ) 22 Journal "TR_m7_Ns_TaleBreathBrine" 137 23 endif 24 endif 25 endif 26 endif 27endif 28 29if ( TR_Map == 0 ) 30 set TR_Map to 7 31endif 32 33End