rlie_0
07-18-2014, 12:33 AM
Hey there guys, Ive been working on this quest and got the insta spawn version to this working as intended. Just a problem with the delay aspect, and id like to ask some help! So here is the code ive worked for this spawn event.
sub EVENT_DEATH_COMPLETE {
quest::settimer("summit",10);
quest::say("I will return!");
}
sub EVENT_TIMER {
if ($timer eq "summit") {
quest::stoptimer("summit");
quest::spawn(1169,0,0,-553,-77,19.63);
}
}
Now my goal is this. Upon mobs death (as you can see) I want to start a timer, then some time later, when timer (next event) is up the mob spawns at a set location within the zone, the instal spawn version works fllawlessly, here is that below
sub EVENT_DEATH_COMPLETE {
quest::shout ("I shall return!");
quest::spawn(1169,0,0,-553,-77,19.63);
}
Anyone know what is missing from the upper quest and why the mob is failing to spawn after the timer is up?
sub EVENT_DEATH_COMPLETE {
quest::settimer("summit",10);
quest::say("I will return!");
}
sub EVENT_TIMER {
if ($timer eq "summit") {
quest::stoptimer("summit");
quest::spawn(1169,0,0,-553,-77,19.63);
}
}
Now my goal is this. Upon mobs death (as you can see) I want to start a timer, then some time later, when timer (next event) is up the mob spawns at a set location within the zone, the instal spawn version works fllawlessly, here is that below
sub EVENT_DEATH_COMPLETE {
quest::shout ("I shall return!");
quest::spawn(1169,0,0,-553,-77,19.63);
}
Anyone know what is missing from the upper quest and why the mob is failing to spawn after the timer is up?