Originally Posted by
adc
Yes. I use minimap.isPlayerMoving() to decide when I'm done moving to the vine and can start searching for the chopped color.
Edit:
I should clarify that it isn't necessarily the same time, it's just at some point within the next 5 seconds (typically; I've never seen it take longer) after you stop moving that you start chopping.
If .waitPlayerMoving() doesn't cut it, try this function on for size:
Simba Code:
procedure TRSMinimap.waitFlagExists(timeout:integer); //waits up to timeout for the flag to be gone
var
t:TTimeMarker;
begin
if (not isLoggedIn()) then
exit();
if (not self.isFlagPresent()) then
begin
writeLn('Flag not present, unable to wait while flag exists');
exit();
end;
t.start();
while (t.getTime() < timeout) do
begin
writeLn('Waiting while the flag exists');
wait(randomRange(250, 500));
if (not self.isFlagPresent()) then
exit();
end;
end;
The flag always disappears slightly before the player stops moving, so this might be what you need.
(disclaimer: I don't fully understand the issue)