View Single Post
  #3  
Old 07-12-2008, 09:30 PM
JLB2414
Fire Beetle
 
Join Date: Jul 2007
Posts: 16
Default making progress

Thanks for the excellent suggestion.

The events are actually taking place now, which is a lot further than I've got previously.

Like the wiki mentioned quest::castspell(id,spellid); doesn't seem to be going off.

So should it look something like this instead?

Code:
sub EVENT_HP 
{

	if ($hpevent == 11) 
	{
		quest::depop;
	}
	
	elsif ($hpevent == 26)
	{
		quest::setnexthpevent(11);
		quest::emote("Xarendyr's eyes take on a deathly allure!");
		quest::settimer(1,10);
	}

	elsif ($hpevent == 76) 
	{
		quest::setnexthpevent(26);
		quest::shout("Intolerable!");
		$npc->CastSpell($userid,7477); #Harm Touch
	}
}
The timer also seems to not be activating either.

At any rate, this has helped out a ton. I feel as if a door has swung open . I can put this information to use a thousand times over.

Thanks a billion!
Reply With Quote