Krazy_Meerkat
2006-05-17 17:39:51
I use it for moving npc's in the fight caves, what more can I say?
[php]{*******************************************************************************
procedure walkhalfway(xl, yl : Integer);
By: Krazy_Meerkat
Description: Walks halfway to destination (good for moving npc's, etc).
*******************************************************************************}
procedure walkhalfway(xl, yl : Integer);
begin
xl:= Round((xl + MMCX) / 2);
yl:= Round((yl + MMCY) / 2);
Mouse(xl, yl, 4, 4, true);
end;[/php]
[php]{*******************************************************************************
procedure walkhalfway(xl, yl : Integer);
By: Krazy_Meerkat
Description: Walks halfway to destination (good for moving npc's, etc).
*******************************************************************************}
procedure walkhalfway(xl, yl : Integer);
begin
xl:= Round((xl + MMCX) / 2);
yl:= Round((yl + MMCY) / 2);
Mouse(xl, yl, 4, 4, true);
end;[/php]