Scripts

TR_m3_Wil_CleanSweep_Anutabi_sc

TR_Mainland.esm
Variables 7
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
T_Local_Khajiit
Source
1Begin TR_m3_Wil_CleanSweep_Anutabi_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. This version is for TR_m3_Anutabi 5 6short TR_Map 7short control 8short controlQ 9short NoLore 10short T_Local_NPC 11short T_Local_NoLore 12short T_Local_Khajiit 13 14if ( OnDeath ) 15 if ( GetJournalIndex "TR_m3_Wil_CleanSweep" == 30 ) 16 Journal "TR_m3_Wil_CleanSweep" 104 17 elseif ( GetJournalIndex "TR_m3_Wil_CleanSweep" >= 10 ) 18 if ( GetJournalIndex "TR_m3_Wil_CleanSweep" < 100 ) 19 Journal "TR_m3_Wil_CleanSweep" 32 20 endif 21 endif 22endif 23 24 25if ( T_Local_Khajiit ) 26 return 27endif 28 29set T_Local_Khajiit to 1 30 31set TR_Map to 3 32 33End