
Originally Posted by
nickrules
Maybe. Anybody want to test? I might. Not completely sure if i feel like it though,

Simba Code:
program new;
{$i srl/srl.scar}
const
MOUSE_X = 500; // Point on screen to click the mouse
MOUSE_Y = 500;
OBJ_UPTEXT = 'Yew tree';
procedure CountSpawnTime;
var
spawnTime: Integer;
begin
MMouse(MOUSE_X, MOUSE_Y, 5, 5);
if (WaitUptext(OBJ_UPTEXT, 500)) then
begin
Mouse(MOUSE_X, MOUSE_Y, 0, 0, True);
repeat
Wait(100);
until(rs_GetUptext <> OBJ_UPTEXT);
MarkTime(spawnTime);
repeat
Wait(100);
until(rs_GetUptext = OBJ_UPTEXT);
end;
Writeln('Spawn time = ' + IntToStr(TimeFromMark(spawnTime)));
end;
begin
SetupSRL;
ClearDebug;
repeat
CountSpawnTime();
until(False);
end.
I think that would work. Just have your character beside the tree and make sure the point is on the tree. You can record the spawn times in different worlds.