Results 1 to 4 of 4

Thread: Check Waypoints run pk HELP

  1. #1
    Normal User
    Join Date
    Jun 2013
    Posts
    96
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    30 Post(s)
    Reputation
    15
    Rep Power
    4

    Exclamation Check Waypoints run pk HELP

    hello,I need an action if bot is betwen wpt005 and wpt020 and if underatack then looting off and targetting off and gotolabel "Run".
    and my general problem is "between wpt".
    please help and i checked advanced searching.

    or maybe it's better to make an action in cavebot like that :
    setsettings("Settings\\Actions\\List\\Action1\\Ena bled", "yes") --in 005wpt
    setsettings("Settings\\Actions\\List\\Action1\\Ena bled", "no") --in 020wpt

    and action in list:---action1--
    if underattack("p") then
    setlooting("off")
    settargeting("off")
    gotolabel ("Run")
    end

    I am open for ur propositions and maybe this action ^ is bad.
    Last edited by Maciek24; 07-05-2014 at 05:12 PM.

  2. #2
    Moderator Furieri's Avatar
    Join Date
    Jun 2012
    Location
    Vitoria - ES / Brasil
    Posts
    792
    Mentioned
    62 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    199 Post(s)
    Reputation
    158
    Rep Power
    7
    Lua Code:
     
    if underattack("p") and posz == 8 then -- Here is floor you are, posx. So you will use this action just if the floor is right i think that is why you need "between"
         setlooting("off")
         setsettings("Settings\\Targeting\\Monsters\\Rat\\O  nlyIfTrapped", "yes") -- That way if you got trapped you kill mobs, do it with all monsters then  when "RUN" finish you turn to "no".
         gotolabel ("Run")
    end


    REP+ if i help you
    Last edited by shanp; 07-05-2014 at 06:57 PM.

  3. #3
    Normal User
    Join Date
    Jun 2013
    Posts
    96
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    30 Post(s)
    Reputation
    15
    Rep Power
    4
    can"t be posz z because I maked multi floor and some caves are on the same level,but anyway i will use second possibilite but ur action looks good to.
    anyway someone who is trying to help so rep

  4. #4
    Normal User
    Join Date
    Jun 2013
    Posts
    96
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    30 Post(s)
    Reputation
    15
    Rep Power
    4
    if PlayerOnScreen > 1 or underattack("P") then
    setsettings("Settings\\Targeting\\Monsters\\Corym Charlatan\\OnlyIfTrapped","yes")
    setsettings("Settings\\Targeting\\Monsters\\Corym Skirmisher\\OnlyIfTrapped","yes")
    setsettings("Settings\\Targeting\\Monsters\\Corym Vanguard\\OnlyIfTrapped","yes")
    wait(300,500)
    gotolabel('Runpk')
    end

    should be good?

Posting Permissions

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