Forum in READ ONLY mode! All questions and discussions on Discord official server, invite link: https://discord.gg/VxsGzJ7

It's possible stop NewMoveXY?

Ask for help
Post Reply
01101011
Neophyte
Neophyte
Posts: 21
Joined: 17.01.2019 0:19

It's possible stop NewMoveXY?

Post by 01101011 »

i trying to use Stop Move, but not work (or i doing something wrong), i need stop new move when i find any item in ground, ex:

Code: Select all

if NewMoveXY(2000, 2000, false, 0, true) then
begin
    if (FindType($FFFF, ground) > 0) then
    begin
        MoverStop;
        NewMoveXY(GetX(finditem), GetY(finditem), false, 1, true);
        wait(100);
        GoFunction;
        ignore(finditem);
    end;
end;
i don't know it's possible, but ty for att =]]]]]]]
User avatar
Vizit0r
Developer
Developer
Posts: 3958
Joined: 24.03.2005 17:05
Contact:

Re: It's possible stop NewMoveXY?

Post by Vizit0r »

Code: Select all

procedure MoverStop;
exists long time ago.
"Пишите код так, как будто сопровождать его будет склонный к насилию психопат, который знает, где вы живете". (с) Макконнелл, "Совершенный код".
Post Reply