Scripts

TR_m4_NPC_Vermilius_Vendicci

TR_Mainland.esm
Variables 11
Local Variables
TR_Map
control
controlQ
controlA
controlB
controlC
shownAxe
NoLore
disableOnce
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m4_NPC_Vermilius_Vendicci 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 controlA ;used for Topic "special job" 10short controlB ;used for Topic "complicit in his crimes" 11short controlC ;used for Topic "Vals Varano" 12short shownAxe 13short NoLore 14short disableOnce 15short T_Local_NPC 16short T_Local_NoLore 17;global TR_m4_TG_AndoSideQuest 18 19if ( OnDeath == 1 ) 20 "TR_m4_Apisphagus Thryx2"->SetFight 90 21 "TR_m4_Apisphagus Thryx"->SetFight 90 22endif 23 24 25;-----------this bit disables VV at the start of it all and enables him at certain point of the questline 26 27if ( disableOnce == 0 ) 28 disable 29 set disableOnce to 1 30endif 31 32if ( GetDisabled == 1 ) 33 if ( disableOnce == 1 ) 34 if ( TR_m4_TG_AndoSideQuest >= 2 ) 35 enable 36 set disableOnce to 2 37 PositionCell, 1738, 3638, 14739, 0, "Bal Foyen, Vendicci Manor" 38 AiWander 0 30 20 10 5 0 5 0 0 39 "TR_m4_Vals_Varano"->PositionCell, 2087, 4779, 15248, 10800, "Bal Foyen, Vendicci Manor" 40 "TR_m4_Vals_Varano"->AiWander 0 30 20 10 5 0 5 0 0 41 endif 42 endif 43endif 44 45 46;---------end of the enabling/disabling bit 47 48if ( TR_Map == 4 ) 49 return 50endif 51 52set TR_Map to 4 53 54End