jus curious...can anyone tel me wat i have to add in my script to bring my charcter to highest angle of screen?
jus curious...can anyone tel me wat i have to add in my script to bring my charcter to highest angle of screen?
^For highestSCAR Code:SetAngle(True);
^For lowestSCAR Code:SetAngle(False);
Kindof Inactive...
SRL/SRL/core/MapWalk.scar i think that function is there.
Press f1 with scar open to get the Scar functions/procedures list and the SRL list is the Scar includes folder -> SRL -> SRL.html.
I use those when checking for commands.
By reading this signature you agree that mixster is superior to you in each and every way except the bad ways but including the really bad ways.
kwll thx ...wel check this...this waz found in the gametab.scar...and i dont know what it means but i need my script to find the mining level and write it in the scar box...
so this is wat it tells me to do...can some1 like convert wat they are saying into to make it send the mining level to the scar box?
SCAR Code:{*******************************************************************************
function GetSkillInfo(skill: string; Amount : Boolean): Integer;
By: Raymond
Description: Gets the amount / level of a skill.
E.G.
0/15
Amount = True will return 0.
Amount = False will return 15 (The actual level).
*******************************************************************************}
function GetSkillInfo(skill: string; Amount : Boolean): Integer;
var
TP: TPoint;
Box : TBox;
TPA : TPointArray;
Cts : Integer;
begin
GameTab(2);
TP := SkillToCoords(True,skill);
CTS := GetColorToleranceSpeed;
ColorToleranceSpeed(0);
if not Amount then
TP := Point(TP.x + 7,TP.y + 13);
FindColorsTolerance(TPA,65535,TP.x - 2,TP.y - 2, TP.x + 15,TP.y + 15,0);
Box := GetTPABounds(TPA);
Result := StrToIntDef(GetNumbers(GetTextAtEx(Box.x1-2, Box.y1 -1, 100,
StatChars, False, True, 0, 5,65535, 2, True, tr_Digits)),0);
ColorToleranceSpeed(CTS);
end;
SCAR Code:Procedure CheckLevel;
Var
Level: integer;
Begin
Level := GetSkillInfo('mining', false);
Writeln('Current Level Is ' +IntToStr(Level));
End;
That should do
Also, what you were asking earlier about finding out functions, the SRL wiki has lots of different functions and it explains how and when to use them.
There are currently 1 users browsing this thread. (0 members and 1 guests)