how would i make a function store the result as a variable?
as in GetHP:=(A); or something like that
this way i can set a statement like
SCAR Code:begin
GetHp(A);
begin
if (FindColor(xf, yf, 65280, 217, 129, 297, 209)) then
begin
GetHp(B);
if ((GetHp(A)-GetHp(B))>0) then
begin
Result:=True;
etc.....
sorry i'm a noob and thanks in advance for any help![]()



Reply With Quote


