Scripts

TR_m3_NPC_CuriaVaultGuard

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m3_NPC_CuriaVaultGuard 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 NoLore 10short T_Local_NPC 11short T_Local_NoLore 12 13if ( control == 1 ) 14 return 15else 16 if ( TR_m4_And_ArmisticeTyrusDetect == 2 ) 17 StartCombat "TR_m4_Tyrus Viducian" 18 set control to 1 19 elseif ( TR_m4_And_ArmisticeTyrusDetect == 3 ) 20 StartCombat "TR_m4_Tyrus Viducian" 21 StartCombat player 22 setfight 100 23 set control to 1 24 endif 25endif 26 27set TR_Map to 3 28 29End