Results 1 to 8 of 8

Thread: need help with radial walking

  1. #1
    Join Date
    Jun 2006
    Posts
    69
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default need help with radial walking

    ok i am trying to use radialroadwalk.

    this function here

    RadialWalk(TheColor: Integer; StartRadial, EndRadial: Integer; Radius: Integer; Xmod, Ymod: Integer): Boolean;

    an i set it out like so

    RadialRoadWalk(6710894, 180, 6842736, 45, -2, 2);

    an it works fine how ever can someone please help me so it picks a new road colour every time as it cant find the colour once i log in an out. so it puts the new colour it finds in the place the colour is ment to be.

    thanks for reading this any how is appreciated

  2. #2
    Join Date
    Apr 2007
    Location
    Texas
    Posts
    1,668
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    This has already been answered and explained in another post. You need to make an autocolor function. (or change it manually). There is a tutorial in the tut section that explains various auto coloring methods.

    (I would use the one with a tiny bitmap)
    [IMG]http://farm3.static.flickr.com/2120/2052732965_348f3629d0_o.jpg[/IMG]

  3. #3
    Join Date
    May 2006
    Posts
    1,230
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    RoadColor := FindRoadColor;

    RadialRoadWalk(RoadColor, blahblah...);

    and RadialRoadWalk will detect a loading screen and will set RoadColor to be the new color.

    you don't need to do

    var
    RoadColor : integer;

    becasuse it is defined in SRL;

    so like

    SCAR Code:
    begin
      SetupSRL;
      RoadColor := FindRoadColor;
      RadialRoadWalk(RoadColor, ...);
    end;

  4. #4
    Join Date
    Apr 2007
    Location
    Texas
    Posts
    1,668
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by The_Rs_Monkey View Post
    RoadColor := FindRoadColor;
    I may be splitting hairs... but inside FindRoadColor's code it says
    SCAR Code:
    Result := TestColor;
    RoadColor := TestColor;
    WriteLn('RoadColor = ' + IntToStr(TestColor));
    Exit;
    So wouldn't RoadColor:=FindRoadColor; be redundant?
    [IMG]http://farm3.static.flickr.com/2120/2052732965_348f3629d0_o.jpg[/IMG]

  5. #5
    Join Date
    May 2006
    Posts
    1,230
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yes. but it was an example (h)

  6. #6
    Join Date
    Mar 2007
    Posts
    674
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    I always use "findroadcolor" and it still cant find the color sometimes.

  7. #7
    Join Date
    May 2006
    Posts
    1,230
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Are you in Varrock/Fally?

  8. #8
    Join Date
    May 2007
    Location
    baltimore, md
    Posts
    836
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    autocolor this is also usually flawless

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Radial Walking
    By knassyl in forum OSR Help
    Replies: 3
    Last Post: 10-22-2007, 12:00 PM
  2. Radial Walking Help
    By Becks in forum OSR Help
    Replies: 2
    Last Post: 10-19-2007, 12:24 AM
  3. radial walking aid
    By Vap0ur in forum OSR Help
    Replies: 4
    Last Post: 10-15-2007, 12:41 AM
  4. need some help with radial walking
    By randomness6 in forum OSR Help
    Replies: 6
    Last Post: 07-10-2007, 08:38 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
  •