Scripts

TR_m4_IL_Orzukscript

TR_Mainland.esm
Variables 5
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
Source
1begin TR_m4_IL_Orzukscript 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 ( ondeath == 1 ) 13 if ( getjournalindex "TR_m4_IL_Agent" > 0 ) 14 if ( getjournalindex "TR_m4_IL_Agentc" < 15 ) 15 if ( controlQ == 0 ) 16 return 17 elseif ( controlQ == 1 ) 18 journal TR_m4_IL_Agentc 15 19 endif 20 endif 21 endif 22endif 23 24if ( TR_map == 4 ) 25 return 26endif 27 28set TR_Map to 4 29 30End