Scripts

TR_m4_NPC_JacchusFarragian_Sc

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
T_Local_NPC
T_Local_NoLore
NoLore
Source
1Begin TR_m4_NPC_JacchusFarragian_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 ) 14 if ( GetJournalIndex TR_m3_HI_Nanaav7 == 10 ) 15 Journal TR_m3_HI_Nanaav7 50 16 endif 17 "TR_m4_Atran Oran"->ModDisposition -20 18 "TR_m3_Indoril Beroth"->ModDisposition 10 19 "TR_m4_Mutra Llehervu"->ModDisposition -20 20endif 21 22if ( TR_Map == 4 ) 23 return 24endif 25 26set TR_Map to 4 27 28if ( GetJournalIndex "TR_m3_HI_Nanaav7" == 0 ) 29 set T_Local_NoLore to -1 30endif 31 32End