Thread: Force a Player to Walk?

Results 1 to 5 of 5
  1. #1 Force a Player to Walk? 
    Banned

    Join Date
    Feb 2008
    Posts
    56
    Thanks given
    1
    Thanks received
    24
    Rep Power
    0
    Is it possible to make a player walk to a set of coordinates without having them click the map, but still using the regular path calculator?
    Reply With Quote  
     

  2. #2  
    Boy Wonder


    Join Date
    Mar 2012
    Posts
    849
    Thanks given
    139
    Thanks received
    80
    Rep Power
    99
    yes there is a method that forces walking, i dont know it offhand but look at the agility class, its probably used there.

    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Feb 2008
    Posts
    56
    Thanks given
    1
    Thanks received
    24
    Rep Power
    0
    Do you know if it can calculate a path the way it does when you click to walk?
    Reply With Quote  
     

  4. #4  
    Registered Member CapitalCoding's Avatar
    Join Date
    Jul 2011
    Posts
    193
    Thanks given
    30
    Thanks received
    25
    Rep Power
    13
    Try this
    public int walker(){
    int timer = 0;
    switch(timer){
    case 0:
    //Walk method to coordinates 1
    //Wait statment till coordinate is true{timer++;}
    break;
    case 0:
    //Walk method to coordinates 2
    //Wait statment till coordinate is true{timer++;}
    break;
    }
    return timer;
    Reply With Quote  
     

  5. #5  
    Boy Wonder


    Join Date
    Mar 2012
    Posts
    849
    Thanks given
    139
    Thanks received
    80
    Rep Power
    99
    Quote Originally Posted by reiss82 View Post
    Do you know if it can calculate a path the way it does when you click to walk?
    I don't quite understand what you mean, it should take the fastest most direct route to the destination.

    Quote Originally Posted by digdig18 View Post
    Try this
    whats the point in this.. ?

    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. Force a website to open for a player
    By The Myth in forum Tutorials
    Replies: 40
    Last Post: 06-20-2016, 09:03 PM
  2. [PI] Force player to walk
    By Syles in forum Help
    Replies: 3
    Last Post: 10-16-2013, 07:25 PM
  3. Pi force a player to say something
    By sonscape in forum Help
    Replies: 1
    Last Post: 06-26-2012, 02:20 AM
  4. Replies: 9
    Last Post: 06-25-2011, 12:17 AM
  5. Replies: 16
    Last Post: 08-16-2009, 02:33 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
  •