Crash Override
2012-06-09 10:24:58
I am working on a script and i am a beginner.
So far the script works great.
However, When i use a REPEAT statement in a FUNCTION the script stops once it finds the Object at UNTIL.
How do you tell SIMBA go to the next FUNCTION?
Thanks
-Crash
So far the script works great.
However, When i use a REPEAT statement in a FUNCTION the script stops once it finds the Object at UNTIL.
begin
repeat
MakeCompass('w');
SetAngle(SRL_ANGLE_HIGH);
Wait(100);
if FindObj(x, y, 'pen Door', 2646912, 10) then
Mouse(x, y, 0, 0, true);
Writeln('Opened Door');
until FindObj(x, y, 'lose Door', 3689555, 5);
end;How do you tell SIMBA go to the next FUNCTION?
Thanks
-Crash