Results 1 to 3 of 3

Thread: How to add failsafe?

  1. #1
    Join Date
    Feb 2012
    Posts
    48
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default How to add failsafe?

    Hey guys i finally got a script working and someone posted a failsafe for it.
    I wanna know how to install the failsafe.

    Simba Code:
    procedure FailSafe2;
    var
      Z:TPoint;
    begin
      Z:= SPS_GetMyPos;
      if (Not (Distance(Z.X, Z.Y, x, y) < 20)) then//Change the 25 to whatever you want your distance checking to be.
      begin
        SPS_WalkToPos(Point(x, y)); // Put in coordinates for T-Point here
      end;
    end;

  2. #2
    Join Date
    May 2012
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i can help you with that pm me ur skype

  3. #3
    Join Date
    Jan 2012
    Location
    Calgary, AB, Canada
    Posts
    1,819
    Mentioned
    5 Post(s)
    Quoted
    120 Post(s)

    Default

    You could have just pmed me about it . At the first x and y put in the SPS point that you walk should be the x and y coords for it and use the same at the other x and y at the bottom
    Current Project: Retired

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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