Scripts

TR_m3_NPC_OE_tourney

TR_Mainland.esm
Variables 7
Local Variables
TR_Map
control
controlQ
TR_m3_OE_tourney
T_Local_NPC
NoLore
T_Local_Khajiit
Source
1Begin TR_m3_NPC_OE_tourney 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 TR_m3_OE_tourney 10short T_Local_NPC 11short NoLore 12short T_Local_Khajiit 13 14if ( T_Local_Khajiit ) 15 return 16endif 17 18set T_Local_Khajiit to -1 19 20if ( GetRace "T_Els_Cathay" ) 21 set T_Local_Khajiit to 1 22elseif ( GetRace "T_Els_Cathay-raht" ) 23 set T_Local_Khajiit to 1 24elseif ( GetRace "T_Els_Dagi-raht" ) 25 set T_Local_Khajiit to 1 26elseif ( GetRace "T_Els_Ohmes" ) 27 set T_Local_Khajiit to 1 28elseif ( GetRace "T_Els_Ohmes-raht" ) 29 set T_Local_Khajiit to 1 30elseif ( GetRace "T_Els_Suthay" ) 31 set T_Local_Khajiit to 1 32elseif ( GetRace "T_Els_Tojay" ) 33 set T_Local_Khajiit to 1 34elseif ( GetRace "Khajiit" ) 35 set T_Local_Khajiit to 1 36endif 37set TR_Map to 3 38set TR_m3_OE_tourney to 1 39 40End