Scripts

TR_m3_NPC_OE_Rothur

TR_Mainland.esm
Variables 7
Local Variables
TR_Map
control
controlQ
doOnce
CombatCheck
NoLore
T_Local_NPC
Source
1Begin TR_m3_NPC_OE_Rothur 2 3short TR_Map 4short control 5short controlQ 6short doOnce 7short CombatCheck 8short NoLore 9short T_Local_NPC 10 11If ( CombatCheck == 0 ) 12 If ( "TR_m3_Urkhu"->GetAttacked == 1 ) ; do not forcegreet if the PC has attacked 13 set CombatCheck to 1 14 EndIf 15EndIf 16 17if ( GetJournalIndex "TR_m3_OE_AbductedAmbassador" >= 10 ) 18 if ( GetJournalIndex "TR_m3_OE_AbductedAmbassador" < 60 ) 19 if ( CombatCheck == 0 ) 20 if ( GetAttacked == 1) 21 if ( doOnce == 0 ) 22 "TR_m3_Urkhu"->StartCombat "TR_m3_Rothur" 23 "TR_m3_Urkhu"->StartCombat "TR_m3_Velmu" 24 set doOnce to 1 25 endif 26 endif 27 endif 28 endif 29endif 30 31; This short script is there to allow dialogue to be filtered on the TR_Map local variable, 32; allowing for regional topics such as "Morrowind Lore" or "Geographic Regions" to be 33; appropriate to the location the NPC is. 34 35if ( TR_Map == 3 ) 36 return 37endif 38 39set TR_Map to 3 40 41End