Results 1 to 4 of 4

Thread: Stop attack if stuck for 10 sec ?

  1. #1
    Normal User
    Join Date
    Sep 2012
    Posts
    131
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    18
    Rep Power
    5

    Stop attack if stuck for 10 sec ?

    Need an action to skip mob if it cant be reached for 5-10 sec, my bot is my bot got alot of special areas and if the creature runs at low HP and there is a wall 4 sqms away it gets stuck since the wont leave my screen and the bot wont chase it any further.

  2. #2
    Normal User
    Join Date
    Dec 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    3
    Does this work?
    Targeting>Settings>MustBeReachable

  3. #3
    Premium User Eldar's Avatar
    Join Date
    Apr 2013
    Location
    Poland
    Posts
    1,335
    Mentioned
    37 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    62 Post(s)
    Reputation
    159
    Rep Power
    7
    Lua Code:
    if (standtime > 10000) and (target.id ~= 0) then
    stopattack()
    settargeting("no")
    wait(3000)
    settargeting("yes")
    end

    This action after 10sec disable targeting, go further, and after 3sec enable targeting again.

  4. #4
    Focus Group aussie1988's Avatar
    Join Date
    Sep 2012
    Location
    Australia
    Posts
    546
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    11 Post(s)
    Reputation
    95
    Rep Power
    6
    Prob look at your settings on targetting.. eg remove stick and play with prox/hp/danger

Posting Permissions

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