The most effective way of finding objects is usually with making your own custom object finding function using TPAs.. but they might take a while to learn. If you use this method, it will usually be able to flow into your script better.
Otherwise, you could do as above:

Originally Posted by
cause
Are you using FindObj or FindObjCustom? One thing you could try is to put it in a loop and then try finding it, up to 10 times lets say, before failing and then terminating or whatever.
Maybe something like:
Simba Code:
for i:=1 to 10 do
begin
if FindObj(x, y, 'altar', AltarColor, AltarTol) then
Break;
Wait(100+Random(200))
end;