Signup Now
Results 1 to 5 of 5
  1. #1
    Free User
    Join Date
    Sep 2014
    Posts
    21
    Reputation
    10
    Rep Power
    0

    Cavebot problem, skipping to other labels

    Hey there. I got a problem and I know the cause but I don't know how tolve it. Namely, everything works great until there's 1sqm corridor and a monster is in the middle of it and it blocks further path. Ofc my character attacks the monster, however, it goes to other cavebot sections (I use simple gotolabel (x, next cavebot section). The aim is that the character deals with the creature and continues his steps, however, he skips the steps from the section and jumps to another. I know I have to add something else ^ here but I do not know what it is.

    Thanks in advance.

  2. #2
    Free User ozzix's Avatar
    Join Date
    Jan 2014
    Location
    Sweden
    Posts
    4,769
    Reputation
    151
    Rep Power
    31
    you should use location checkers, esp when chaning wpt section
    if islocation(3) then
    gotolabel('x', 'newwptsection')
    else
    gotolabel($wptid - 4)
    end

    Level Latest Scripts
    250+
    Oramond Sewers [MAGE |RP X1 | RP X2 |RP X3|EK X2 | EK X1]
    200+
    Banuta X2 [MAGE | RP]
    280+
    Roshamuul Mountain [RP]
    280+
    Ferumbras Lair [RP]
    250+
    Roshamuul North Silencers [RP]

  3. #3
    Free User
    Join Date
    Sep 2014
    Posts
    21
    Reputation
    10
    Rep Power
    0
    Haha, wanted to give you a reputation but seems that you've helped me already yesterday, thanks pal for such a quick reply!

    Quote Originally Posted by ozzix View Post
    you should use location checkers, esp when chaning wpt section
    if islocation(3) then
    gotolabel('x', 'newwptsection')
    else
    gotolabel($wptid - 4)
    end
    Btw what does islocation (3) <- the number mean?
    Last edited by grelo; 04-08-2016 at 09:54 AM.

  4. #4
    Free User ozzix's Avatar
    Join Date
    Jan 2014
    Location
    Sweden
    Posts
    4,769
    Reputation
    151
    Rep Power
    31
    Quote Originally Posted by grelo View Post
    Haha, wanted to give you a reputation but seems that you've helped me already yesterday, thanks pal for such a quick reply!



    Btw what does islocation (3) <- the number mean?
    the distance from the action wpt, you should have a stand wpt just before it on the same sqm

    Level Latest Scripts
    250+
    Oramond Sewers [MAGE |RP X1 | RP X2 |RP X3|EK X2 | EK X1]
    200+
    Banuta X2 [MAGE | RP]
    280+
    Roshamuul Mountain [RP]
    280+
    Ferumbras Lair [RP]
    250+
    Roshamuul North Silencers [RP]

  5. #5
    Free User
    Join Date
    Sep 2014
    Posts
    21
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by ozzix View Post
    the distance from the action wpt, you should have a stand wpt just before it on the same sqm
    Could you provide me an example (a screen shot or something of a cavebot rotues) how does it look like in practice? Honestly, I am quite new in setting my own scripts and I don't grasp what you've said :P.

    Nevermind, I've figured it out, thanks!
    Last edited by grelo; 04-08-2016 at 10:09 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
  •