View Single Post
  #1  
Old 01-27-2012, 11:51 PM
Durge
Sarnak
 
Join Date: Jan 2010
Location: USA
Posts: 51
Default Boss trigger event

Hey guys, I'm totally baffled as to why this won't work, but maybe you guys can help? I dumbed this down a ton to try and get the boss to move, but he still wont move

Code:
##Test Boss Quest
##Created by Durge

sub EVENT_SPAWN
{
	quest::setnexthpevent(75);
}
sub EVENT_COMBAT
{
	$combat_state = 1;
	quest::shout("How dare you attack me $name! You shall die for your heracy!");
}

sub EVENT_HP
{
	if($hpevent == 75)
	{
		quest::shout("Stupid mortals! You think you can defeat me?");
		quest::moveto(-324, 778, -10, 128, 1);
	}
}
__________________
Reply With Quote