SCAR Code:If Not (FindFight) Then Writeln (' Killed Guard =]')
Guards : Guards + 1;
Until Guards = Killz;
End;
End;
End;
End;
i have ends becasue there is some procedure above it.
i have killz in the const


SCAR Code:If Not (FindFight) Then Writeln (' Killed Guard =]')
Guards : Guards + 1;
Until Guards = Killz;
End;
End;
End;
End;
i have ends becasue there is some procedure above it.
i have killz in the const
It depends on how good your FindFight function is..
erm no.
function findfight is looking for your charaters hp. if your hp is less like 40/40 (when it become's 40/39-) the result will be true
so rude, what your procedure is saying: if i'm die'ing then i killed the guard! so that won't work![]()


ahh kool lol ok then thanks il work on thhat later
EDIT: here is the whole porcedure i have fakawi credits
SCAR Code:Procedure FightTheGuards;
var CBx,CBy : Integer;
Begin
for Numbers := 1 to 10 do
begin
CBx := MSCx;
CBy := MSCy;
if FindColorSpiralTolerance(CBx, CBy, GuardColors[Numbers], MSX1, MSY1, MSX2, MSY2, 15) then
begin
Mouse(CBx, CBy, 0, 0, True);
Wait(17000 + Random ( 2000 ));
If Not (FindFight) Then Writeln (' Killed Guard =]')
Guards := Guards + 1;
Until Guards = Killz;
End;
End;
End;
End;
Something like this?
SCAR Code:Procedure FightTheGuards;
var CBx,CBy : Integer;
Begin
for Numbers := 1 to 10 do
begin
CBx := MSCx;
CBy := MSCy;
if FindColorSpiralTolerance(CBx, CBy, GuardColors[Numbers], MSX1, MSY1, MSX2, MSY2, 15) then
begin
While not Guards = killz do
begin;
Mouse(CBx, CBy, 0, 0, True);
Wait(17000 + Random ( 2000 ));
If Not (FindFight) Then Writeln (' Killed Guard =]')
Guards := Guards + 1;
end;
End;
End;
End;
End;
Verrekte Koekwous
But what if you killed the guard without losing health at all... That wouldn't work then.
--------------------------------------------------------- ![]()
Pm me if you need any math functions made. Me = l0ving t3h mathz
--------------------------------------------------------- ![]()
I believe there is something likeOutFight;
[QUOTE=Santa_Clause;277761]I love you too TSN :p[/QUOTE]
[CENTER][URL="http://www.stats.srl-forums.com/sigs"][IMG]http://www.stats.srl-forums.com/sigs/1324.png[/IMG][/URL][/CENTER]


meh negaal is still teh sex im gonna try it![]()
[QUOTE=Santa_Clause;277761]I love you too TSN :p[/QUOTE]
[CENTER][URL="http://www.stats.srl-forums.com/sigs"][IMG]http://www.stats.srl-forums.com/sigs/1324.png[/IMG][/URL][/CENTER]
Look for your HP Bar and the Attack Blobs and determine if they are on you etc... be creative![]()
The truth finally came out...
There are currently 1 users browsing this thread. (0 members and 1 guests)