Scripts

TR_m3_Ord_Watch4_ThiefHead_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_Ord_Watch4_ThiefHead_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 "NoLore" NPCs. 5 6short TR_Map 7short control 8short controlQ 9short NoLore 10short T_Local_NPC 11short T_Local_NoLore 12short T_Local_Khajiit 13 14if ( control == 0 ) 15 disable 16 set control to 1 17endif 18 19if ( GetDisabled == 0 ) 20 if ( controlQ == 0 ) 21 if ( GetLOS "player" == 1 ) 22 if ( GetHealth > 0 ) 23 Forcegreeting 24 endif 25 set controlQ to 1 26 endif 27 endif 28endif 29 30if ( T_Local_Khajiit ) 31 return 32endif 33 34set T_Local_Khajiit to 1 35set TR_Map to 3 36 37End