Results 1 to 8 of 8

Thread: Implement sps paths into script?

  1. #1
    Join Date
    Dec 2011
    Posts
    1,162
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Implement sps paths into script?

    How do i do this? i tried doing the object DTM and that failed just as much.

  2. #2
    Join Date
    Dec 2011
    Posts
    392
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Your going to need to look at this
    http://villavu.com/forum/showthread....hlight=walking

  3. #3
    Join Date
    Dec 2011
    Posts
    1,162
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ya thats what i need help with how do you implement it into the script!!!

  4. #4
    Join Date
    Dec 2011
    Posts
    392
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    There has to be a guide somewhere..
    You need
    Simba Code:
    {$i sps/sps.simba}
    At the top first of all. Then in your script when you use it you will
    Simba Code:
    SPS_Setup(RUNESCAPE_SURFACE,['1_1','1_2','etc']);
        PATHNAME := [Point(1, 1), Point(391, 506), Point(etc, etc)];
          SPS_WalkPath(PATHNAME);

  5. #5
    Join Date
    Dec 2011
    Posts
    1,162
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Simba Code:
    Procedure tobank;
    begin
     SPS_Areas := ['10_6'];
       myPath := [Point(4272, 2580), Point(4273, 2604), Point(4238, 2609), Point(4201, 2622), Point(4189, 2631), Point(4190, 2662)];
          SPS_WalkPath(myPath);
    end;

    im getting error,

    [Error] (145:4): Unknown identifier 'myPath' at line 144
    Compiling failed.
    I dont know why, do i have to call mypath as a variable inside the to bank procedure? This is my first time with paths.

  6. #6
    Join Date
    Dec 2011
    Posts
    392
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by laakerules View Post
    Simba Code:
    Procedure tobank;
    begin
     SPS_Areas := ['10_6'];
       myPath := [Point(4272, 2580), Point(4273, 2604), Point(4238, 2609), Point(4201, 2622), Point(4189, 2631), Point(4190, 2662)];
          SPS_WalkPath(myPath);
    end;

    im getting error,

    [Error] (145:4): Unknown identifier 'myPath' at line 144
    Compiling failed.
    I dont know why, do i have to call mypath as a variable inside the to bank procedure? This is my first time with paths.
    Yes
    Simba Code:
    Var
      MyPath: TPointArray;

  7. #7
    Join Date
    Dec 2011
    Posts
    1,162
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Okay thanks got it working now!

  8. #8
    Join Date
    Jul 2009
    Location
    Australia
    Posts
    667
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by lilcmp1 View Post
    There has to be a guide somewhere..
    You need
    Simba Code:
    {$i sps/sps.simba}
    At the top first of all. Then in your script when you use it you will
    Simba Code:
    SPS_Setup(RUNESCAPE_SURFACE,['1_1','1_2','etc']);
        PATHNAME := [Point(1, 1), Point(391, 506), Point(etc, etc)];
          SPS_WalkPath(PATHNAME);
    If you were wondering, the guide is actually in the beginners section:
    http://villavu.com/forum/showthread.php?t=71461

    ~Caotom

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
  •