Scripts

TR_m4_NPC_Vals_Varano2

TR_Mainland.esm
Variables 5
Local Variables
TR_Map
disableOnce
NoLore
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m4_NPC_Vals_Varano2 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. This version is for "NoLore" NPCs. 5 6short TR_Map 7short disableOnce 8short NoLore 9short T_Local_NPC 10short T_Local_NoLore 11 12if ( disableOnce == 0 ) 13 disable 14 set disableOnce to 1 15endif 16 17if ( GetDisabled == 1 ) 18 if ( GetJournalIndex "TR_m4_TG_Shei6" == 225 ) 19 enable 20 endif 21endif 22 23if ( TR_Map == 4 ) 24 return 25endif 26 27set TR_Map to 4 28 29End