Scripts

TR_m1_IL_Olfinscript

TR_Mainland.esm
Variables 5
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
Source
1Begin TR_m1_IL_Olfinscript 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 NoLore 11 12if ( TR_map == 0 ) 13 set TR_Map to 1 14endif 15 16if ( getjournalindex TR_m1_IL_Onimushili > 0 ) 17 if ( ondeath == 1 ) 18 journal TR_m1_IL_Onimushili 50 19 endif 20endif 21 22End