Results 1 to 4 of 4

Thread: RadialWalkTolerance Error

  1. #1
    Join Date
    Jun 2012
    Posts
    219
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default RadialWalkTolerance Error

    Hi

    I need some help here. I`m trying my hand at radialwalk as sps walking sucks a bit where I want to use it, But when I try to compile the code I get this error.

    [Error] C:\Simba\Scripts\Crafting.simba(534:47): Invalid number of parameters at line 533
    Compiling failed.

    I know what the error means, but I do specify all the requirements for this function to work. I just don`t know what I`m doing wrong?

    Here is the code

    Simba Code:
    RadialWalkTolerance(4347997,50.0,65.0,1,1,4);
    Colour : 4347997
    Start Radial :50
    End Radial:65
    xmod: 1
    ymod: 1
    Tol: 4

    What gives?

    Thanks for the help.

  2. #2
    Join Date
    Jul 2012
    Location
    System 32
    Posts
    47
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You are missing the radius (r)

    Simba Code:
    RadialWalkTolerance(4347997,50.0,65.0,RadiusHere,1,1,4);
    Colour : 4347997
    Start Radial :50
    End Radial:65
    Radius: ??
    xmod: 1
    ymod: 1
    Tol: 4

    Make sure it's no more than 74, as this is the edge of the minimap.
    Last edited by Etrnl Fear; 08-06-2012 at 08:45 PM.
    Without chaos... There would be no organization.

  3. #3
    Join Date
    Jun 2012
    Posts
    219
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Thanks. Knew it was something stupid.

  4. #4
    Join Date
    Jul 2012
    Location
    System 32
    Posts
    47
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Haha, it's typical. :P

    Good luck with the rest of your script.
    Without chaos... There would be no organization.

Thread Information

Users Browsing this Thread

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

Posting Permissions

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