Scripts

TR_m3_NPC_OE_Hastophos_Velifer

TR_Mainland.esm
Variables 7
Local Variables
TR_Map
control
controlQ
NecromancyBan
T_Local_NPC
NoLore
T_Local_NoLore
Source
1Begin TR_m3_NPC_OE_Hastophos_Velifer 2 3; Script on NPC "TR_m3_Hastophos Velifer", for quest tr_m3_mg_oe_q8 4 5short TR_Map 6short control ; used in quest tr_m3_mg_oe_q8 7short controlQ ; used in quest tr_m3_mg_oe_q8 8short NecromancyBan ;used in the quest TR_m3_TT_Lloris3 9short T_Local_NPC 10short NoLore 11short T_Local_NoLore 12 13if ( cellchanged ) 14 if ( controlq ) 15 if ( getjournalindex tr_m3_mg_oe_q8 >= 70 ) 16 if ( getdeadcount "TR_m3_Hastophos Velifer" == 0 ) 17 positioncell -78 -328 257 8280 "Old Ebonheart, Hastophos Velifer's House";returns him to his default spot after the ritual Mark: TR_m3_MARK_Hastophos 18 TR_m3_MG_OE_Q8_Guard->setfight 30 19 TR_m3_MG_OE_Q8_Guard->setalarm 100 20 setfight 30 21 setalarm 90 22 ;see the script tr_m3_mg_oe_q8_ritual_sc for why these need to be changed at all. They are set here because on the vanilla engine they still attack you if you change them back immediately after hitting her 23 set controlq to 0 24 endif 25 endif 26 endif 27endif 28 29if ( MenuMode ) 30 return 31endif 32 33if ( TR_Map ) 34 return 35endif 36 37set TR_Map to 3 38 39end