Okay, got it down to a very simple script. I have inactive versions of my mobs that are placeholders, and then I created the mobs that will spawn during the event. Simple quest that depops the placeholder and spawns the active version.
Code:
sub EVENT_SPAWN {
quest::setnexthpevent(80);
}
sub EVENT_HP {
if($hpevent == 80) {
quest::depopall(9980009);
quest::spawn2(9980017,0,0,55.9,-18,5.5,204.4);
quest::setnexthpevent(60);
}
if($hpevent == 60) {
quest::depopall(9980010);
quest::spawn2(9980018,0,0,34.9,47.5,5.5,152.6);
quest::setnexthpevent(40);
}
if($hpevent == 40) {
quest::depopall(9980011);
quest::spawn2(9980019,0,0,-34.6,47.5,5.5,102);
quest::setnexthpevent(20);
}
if($hpevent == 20) {
quest::depopall(9980012);
quest::spawn2(9980020,0,0,-56.5,-18,5.5,51.4);
}
}
I also want this boss to become "active" by handing him 4 items; anyone have a good example of that part of a quest?
Thanks for the help!