First problem
yes, i have read tutorials but most of them are totally gibberish to me.
Why in the gods name doesn't this work?
SCAR Code:
begin
While(Fighting) do Randommovement;
end;
Second problem
Is the only way to add multiple situations that end a loop to make the until(..) this complicated? Ofcourse with different result after every event that ends the loop, like this:
SCAR Code:
repeat
writeln('holy cow!');
until(
(HpPercent < 50) or
(not InFight) or
(TimeFromMark(attack)>15000) or
(somevariable < 7) or
(Shithappens) );
if (HpPercent<50) then
begin
DoThis1;
end;
if not InFight then
begin
DoThis2;
end;
ETC ETC ETC...
I thought it could be done with cases, but i didn't find a tutorial that tells me how.