Im making a rangerscript, and here is part of my script:
SCAR Code:begin
MarkTime(attack);
repeat
wait(1000);
writeln('fighting'); //<- this is only for testing reasons
until(
(TimeFromMark(attack)>15000) or
(Hppercent<50) or
(not infight));
if not InFight then writeln('Monster killed');
if (hppercent<50) then writeln('RUUUN!!!');
end;
This loop is supposed to wait until the fight is over or hp is under 50%.
When i run the script, it attacks, and reports 'fighting' but then instantly reports 'Monster killed', wheter im still in fight or not
Doesn't InFight recognize ranged fighting? if so,
some1 make it!









Reply With Quote

