Results 1 to 7 of 7

Thread: just a little question

  1. #1
    Join Date
    May 2007
    Location
    UK
    Posts
    4,007
    Mentioned
    1 Post(s)
    Quoted
    12 Post(s)

    Default just a little question

    hey there i have an error and am very confused this is it

    SCAR Code:
    begin
    RadialWalk( 333, 348, 16);
    end

    and i get:

    Line 32: [Error] (12659:26): Invalid number of parameters in script C:\.....

    what am i doing wrong this is my first script

    cheers

    T ~ M

  2. #2
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default

    Invalid number of parameters

    As it says.

    function RadialWalk(TheColor: Integer; StartRadial, EndRadial: Integer; Radius: Integer; Xmod, Ymod: Integer): Boolean;
    First put the color, then the degrees the color must be inside, then the max distance (radius).

    Xmod and Ymod are the modifiers for mousefindflag, just put 1,1

  3. #3
    Join Date
    May 2007
    Location
    UK
    Posts
    4,007
    Mentioned
    1 Post(s)
    Quoted
    12 Post(s)

    Default

    the colour of what, where i want it to go?

    T ~ M

  4. #4
    Join Date
    Mar 2007
    Location
    Netherlands->Amersfoort.
    Posts
    1,615
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yes, for example. you want to walk on a road:

    SCAR Code:
    RadialWalk(FindRoadColor, 333, 348, 16, 1, 1);
    but 16 is a little bit short

  5. #5
    Join Date
    May 2007
    Location
    UK
    Posts
    4,007
    Mentioned
    1 Post(s)
    Quoted
    12 Post(s)

    Default

    i am soooooooo confused

    T ~ M

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

    Default

    Quote Originally Posted by The Man View Post
    i am soooooooo confused

    T ~ M
    Read a tut maybe "A brief lesson on RadioWalking " by WT-Fakawi.


  7. #7
    Join Date
    May 2007
    Location
    UK
    Posts
    4,007
    Mentioned
    1 Post(s)
    Quoted
    12 Post(s)

    Default

    got it working! cheers guys for all your help

    admin/mod close please?

    T ~ M

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. i has a question
    By Solkrieg in forum OSR Help
    Replies: 5
    Last Post: 10-30-2008, 08:20 AM
  2. tab 5 question
    By dvdcrayola in forum OSR Help
    Replies: 4
    Last Post: 07-04-2008, 06:43 AM

Posting Permissions

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