Saethan
09-01-2003, 07:03 PM
Question on a quest I'm working on. Have a ghetto fix up right now by just only having one waypoint per grid, but here's the problem:
EVENT_ITEM
{
if($item1 == "993")
{
say("Ah, a soul essence stone. Be prepared, $name, I am about to release it. Please return the broken stone back to me.")
me("You feel something rush past you, almost like a gust of wind.")
spawn("7200", "250", "0", "1165", "-905", "-27")
spawn("7201", "251", "0", "425", "-780", "-50")
spawn("7201", "252", "0", "435", "-775", "-50")
spawn("7201", "253", "0", "445", "-770", "-50")
spawn("7201", "254", "0", "455", "-765", "-50")
spawn("7201", "255", "0", "465", "-760", "-50")
}
Each one moves to the first waypoint of their assigned grid just fine, but then, only one(seemingly random) moves on to the second waypoint, the rest just sit at their first waypoint and never move. Is this known to happen, did I code something wrong, or what?
For the grids, I just used the #grid add and #wp add commands in-game. Something like this:
#grid add 250 0 1
#grid add 251 0 1
#grid add 252 0 1
#grid add 253 0 1
#grid add 254 0 1
#grid add 255 0 1
Then in the various places I wanted the waypoints to be, for each grid I did this(every waypoint is in a different location, there aren't any sitting on top of each other, so npc's getting stuck in each other isn't the problem):
#wp add -gridnumber- 10 1
#wp add -gridnumber- 10 2
Etc etc. One npc will go along all of the waypoints just fine, but the rest just go to the first waypoint and sit there. Anybody see something that I did wrong?
EVENT_ITEM
{
if($item1 == "993")
{
say("Ah, a soul essence stone. Be prepared, $name, I am about to release it. Please return the broken stone back to me.")
me("You feel something rush past you, almost like a gust of wind.")
spawn("7200", "250", "0", "1165", "-905", "-27")
spawn("7201", "251", "0", "425", "-780", "-50")
spawn("7201", "252", "0", "435", "-775", "-50")
spawn("7201", "253", "0", "445", "-770", "-50")
spawn("7201", "254", "0", "455", "-765", "-50")
spawn("7201", "255", "0", "465", "-760", "-50")
}
Each one moves to the first waypoint of their assigned grid just fine, but then, only one(seemingly random) moves on to the second waypoint, the rest just sit at their first waypoint and never move. Is this known to happen, did I code something wrong, or what?
For the grids, I just used the #grid add and #wp add commands in-game. Something like this:
#grid add 250 0 1
#grid add 251 0 1
#grid add 252 0 1
#grid add 253 0 1
#grid add 254 0 1
#grid add 255 0 1
Then in the various places I wanted the waypoints to be, for each grid I did this(every waypoint is in a different location, there aren't any sitting on top of each other, so npc's getting stuck in each other isn't the problem):
#wp add -gridnumber- 10 1
#wp add -gridnumber- 10 2
Etc etc. One npc will go along all of the waypoints just fine, but the rest just go to the first waypoint and sit there. Anybody see something that I did wrong?