Results 1 to 10 of 10

Thread: bringin to highest angle..

  1. #1
    Join Date
    Mar 2007
    Posts
    1,223
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default bringin to highest angle..

    jus curious...can anyone tel me wat i have to add in my script to bring my charcter to highest angle of screen?

  2. #2
    Join Date
    Dec 2007
    Location
    Michigan, USA
    Posts
    280
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    SetAngle(True);
    ^For highest
    SCAR Code:
    SetAngle(False);
    ^For lowest
    Kindof Inactive...

  3. #3
    Join Date
    Mar 2007
    Posts
    1,223
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by mikevskater View Post
    SCAR Code:
    SetAngle(True);
    ^For highest
    SCAR Code:
    SetAngle(False);
    ^For lowest
    k thankz..
    and is there a place wher i can find these kind of little actions lyk a manual or sumthin?

  4. #4
    Join Date
    Nov 2007
    Location
    Chile
    Posts
    1,901
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SRL/SRL/core/MapWalk.scar i think that function is there.


  5. #5
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    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.

  6. #6
    Join Date
    Mar 2007
    Posts
    1,223
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by mixster05 View Post
    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.

    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;

  7. #7
    Join Date
    Feb 2008
    Location
    In the woods of Finland
    Posts
    45
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    Procedure CheckLevel;
    Var
    Level: integer;
    Begin
     Level := GetSkillInfo('mining', false);
     Writeln('Current Level Is ' +IntToStr(Level));
    End;

    That should do
    Cut & Drop or Stock Powerchonker


    Teh 3vil Oar H1t5 Chuck Norris Stone c0ld

  8. #8
    Join Date
    Mar 2007
    Posts
    1,223
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by Trollvete View Post
    SCAR Code:
    Procedure CheckLevel;
    Var
    Level: integer;
    Begin
     Level := GetSkillInfo('mining', false);
     Writeln('Current Level Is ' +IntToStr(Level));
    End;

    That should do
    thx a bunch!

  9. #9
    Join Date
    Dec 2007
    Location
    192.168.1.73
    Posts
    2,439
    Mentioned
    6 Post(s)
    Quoted
    119 Post(s)

    Default

    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.

  10. #10
    Join Date
    Mar 2007
    Posts
    1,223
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by Dude Richard View Post
    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.
    kwlll hmmm Srl wiki...nvr heard of it...ill check it out! thx!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Highest Angle
    By StrikerX in forum OSR Help
    Replies: 2
    Last Post: 04-22-2008, 01:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •