Results 1 to 2 of 2

Thread: checkers "if islocation"

  1. #1
    iBot User
    Join Date
    Nov 2012
    Posts
    319
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    12 Post(s)
    Reputation
    33
    Rep Power
    5

    checkers "if islocation"

    I'm trying to fix the rookbears because sometimes he up to the floor 7..

    waypoints 8
    if islocation(8) then
    gotolabel('osito')
    else gotolabel('fix') end

    fix in floor 7

    waypoints to back at 8 etc.

    checker 2
    if islocation(8) then
    gotolabel('osito')
    else gotolabel('fix') end

    but dont work the bot is in floor 8 and going to label ('fix') the get stuck by the checkers

    thanks for ur time I'm trying to learn


    solved.
    1.- calm down
    2.- go for a cigar
    3.- try again.
    4.- solution i was importing in waypoint 0 0 0 0 and dont work :s idk how the "masters" do it with 0 0 0 0 , added in the correct locations and work
    Last edited by adra0378; 12-09-2012 at 07:25 PM. Reason: Solved

  2. #2
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    complicated much?

    Just add the stand wpt to go back down into the hunt loop.


    That way if you're on floor 8, it skips it, if it goes up to 7, it goes down.

Posting Permissions

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