09-10-2014, 10:09 AM
Good! I'm putting together a script for a quest and I have a little inconvenience ...
The quest does it well, but when the Gate to take her back to the PJ takes it, but after reaching destination, not moving at all.
Here is the chunk of code where this came from, so I can lend a hand:
It's as if after the WaitForTeleport () do not know.
I hope answer, thanks!
[EDIT] Now go and had to wait a while, the question is, how can I do q as it arrives to teleport, move to the coordinates, without waiting for the minutes that waits?
The quest does it well, but when the Gate to take her back to the PJ takes it, but after reaching destination, not moving at all.
Here is the chunk of code where this came from, so I can lend a hand:
Code:
moveDistance = 30;
TargetNpc("Tatiana", 31275);
Talk();
Talk();
ClickAndWait("npc_268467637_Chat 1", "\"I want to teleport.\"");
ClickAndWait("npc_268467637_goto 1095", "Hot Springs - 9300 Adena");
MoveTo(147998, -55282, -2734, moveDistance);
WaitForTeleport();
MoveTo(144900, -113481, -2569, moveDistance);
MoveTo(145078, -113318, -2546, moveDistance);
MoveTo(145562, -112823, -2485, moveDistance);
MoveTo(145993, -112553, -2441, moveDistance);
MoveTo(146385, -112370, -2399, moveDistance);
MoveTo(146789, -112233, -2345, moveDistance);
MoveTo(147350, -112173, -2249, moveDistance);
MoveTo(148223, -112307, -2200, moveDistance);
MoveTo(148223, -112307, -2200, moveDistance);
MoveTo(148223, -112307, -2200, moveDistance);
MoveTo(148223, -112307, -2200, moveDistance);
MoveTo(148223, -112307, -2200, moveDistance);
MoveTo(148619, -112382, -2155, moveDistance);
MoveTo(149009, -112451, -2079, moveDistance);
MoveTo(149244, -112516, -2065, moveDistance);
MoveTo(149517, -112679, -2065, moveDistance);
It's as if after the WaitForTeleport () do not know.
I hope answer, thanks!
[EDIT] Now go and had to wait a while, the question is, how can I do q as it arrives to teleport, move to the coordinates, without waiting for the minutes that waits?