View Single Post
  #1  
Old 08-22-2006, 04:05 AM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default I need help with some quests

Code:
# Raid event for #Garudon (109107)
# Angelox


sub EVENT_SAY { 
if($text=~/Hail/i){
quest::say("Traveler, you must help me. I have been tortured in this city for generations. The mark of Kylong adorns the walls of the theater that houses my remains. These markings are preventing me from passing into the theater and rejoining with my body so that I may pass on in peace. If you can reclaim four samples and return them to me, it may be enough to draw power from. With this power I will pass into the theater and rejoin my body and rest in peace. You do this for me, the torture of eternal capture is more than I can bear.");
 }
}

sub EVENT_ITEM {
 if ($itemcount{65574} == 4){
  quest::spawn2(109107,0,0,-142.884,-120.265,18.226,189.875);
  quest::me("As you place the remains of the dragon on the ground, a cold draft fills the air. Suddenly in a great vortex, the bones begin to rise up and move carried by the wind. They jut through the air and come down inside of the nearby theater. You hear the faint sound of bones clanking together, which is then followed by a massive moan. A sharp bolt of fear trickles up your spine as you feel anticipation fill the air.");
  quest::depop();
 }
}

# EOF zone: Veksar NPCs:#Garudon (109107)
This works ok, but on the quest::me part , it still includes the "say" text as in quest::say.
example: Spirit of Garudon says, "As you place the remains of the dragon...", instead of whats needed "As you place the remains of the dragon..." - What am I doing wrong here?



Code:
# Angelox

sub EVENT_SAY{
 quest::emote("hisses at you, its sharp teeth gnashing for your flesh!");
}

sub EVENT_DEATH{
 quest::delglobal("rage");
 quest::setglobal("rage","2","3","F");
 $rage=undef;
}

# EOF zone: veksar NPCs: spawn a_raging_bloodgill_goblin (109093)
I can't get the quest::emote part of this to work - he says nothing, but the rest of the script is working. I also tried quest::say and quest::me with same results.
Reply With Quote