Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-03-2009, 08:57 PM
Dibalamin
Hill Giant
 
Join Date: Dec 2007
Posts: 182
Default Derakor the Vindicator

On live when Derakor was aggro'd the 2 near guardians of Zek would join his hate list, and once he was non-aggro, they would follow him. The two guardians I made are 649, for you they will be different.

Derakor_the_Vindicator
Code:
#Derakor the Vindicator
my $Guardian_of_Zek;
my $Guardian_of_Zeknpc;


sub EVENT_AGGRO {
  quest::shout("Your kind will not defile the temple of Rallos Zek!");

   my $Guardian_of_Zek = $entity_list->GetMobByNpcTypeID(649);
  
  if ($Guardian_of_Zek) {
    my $Guardian_of_Zeknpc = $Guardian_of_Zek->CastToNPC();
    $Guardian_of_Zeknpc->AddToHateList($client, 1);
  
}
}

sub EVENT_COMBAT {
  if ($combat_state == 0){
  quest::signalwith(649,1,1);
}
}
# Quest by mystic414, Edited by Aeolwind
#a_guardian_of_zek
Code:
#Guardian of Zek

sub EVENT_SIGNAL {
if ($signal == 1) {
#Set this to the NPCID you want the NPC to follow
my $OpponentID = 113118;

#Get Target NPC
my $getmobbynpctype = $entity_list->GetMobByNpcTypeID($OpponentID);
#Get the NPC's Entity ID
my $follow_target = $getmobbynpctype->GetID();

quest::follow($follow_target);

}
}

#Derakor's Tagalongs  Quest by Aeolwind
The problem I'm having...Only one of the guardians aggro, but both will follow without fail! Since they both have the same ID, I didn't figure it would be a big deal since it works fine for my Cazic-Thule Script, but only one is getting the aggro pass. Any reason why? And how might I rectify it?
__________________
Retired EMarr
Project1999 Developer
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 09:27 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3