Results 1 to 5 of 5

Thread: Stop bot at X waypoint!

  1. #1
    Normal User ezklop's Avatar
    Join Date
    Jun 2012
    Location
    Chile
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5

    Stop bot at X waypoint!

    Hello, as the title says, i need some help from u guys, since i dont know much about lua and that kind of stuff, i need a script that sets cavebot off at x waypoint, tried to make it by myself, but didnt know how, all my tries where a fail, id be very grateful if someone can post it here! thanks in advance

  2. #2
    Banned
    Join Date
    May 2012
    Posts
    1,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    127
    Rep Power
    0
    Why not add a action wpt after that waypoint? then in the action:
    setcavebot('off')



    Also, as you requested:
    PHP Code:
    if wpt.label == x then
         setcavebot
    ('off')
    end 

  3. #3
    iBot User
    Join Date
    Apr 2012
    Location
    Poland
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    5
    PHP Code:
    if posx == 00000 and posy == 00000 and posz == 0 then
    setcavebot
    ("no")
    end 
    You must edit waypoint only.

  4. #4
    Normal User ezklop's Avatar
    Join Date
    Jun 2012
    Location
    Chile
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    thanks for your help +rep for both of u s2

  5. #5
    iBot User
    Join Date
    Aug 2012
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    I have the same problem but in my case it is never random in the same waypoint
    Or it remains static in a place I try to go to other one and it is returned only to the point where still has me static

Posting Permissions

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