Signup Now
Results 1 to 3 of 3
  1. #1
    Free User Bollo's Avatar
    Join Date
    Oct 2016
    Location
    Sweden
    Posts
    78
    Reputation
    23
    Rep Power
    15

    Swapping target distance for specific creature

    Im wondering if there is any way to change the targeting range for a creature during a botting session somehow?

    For example, I want to change the distance of a creature from 4 to 3 within a certain condition, then switch back to 4 SQM distance again.

    I've checked in the documentation but cant seem to find it. Is it possible?
    http://i.imgur.com/ZGf30Pt.jpg

    Paid Scripts thread is now live!

  2. #2
    Free User Donatello's Avatar
    Join Date
    Dec 2013
    Location
    Tuscany, Italy
    Posts
    398
    Reputation
    51
    Rep Power
    21
    That's an example:
    auto(200) dontlist()
    if maround() > 2 then -- your condition goes here.
    setsetting('Targeting/Creatures/YOUR_CREATE_NAME/Setting1/Distance', '4')
    else
    setsetting('Targeting/Creatures/YOUR_CREATE_NAME/Setting1/Distance', '3')
    end

  3. #3
    Free User Bollo's Avatar
    Join Date
    Oct 2016
    Location
    Sweden
    Posts
    78
    Reputation
    23
    Rep Power
    15
    Thanks mate!
    http://i.imgur.com/ZGf30Pt.jpg

    Paid Scripts thread is now live!

 

 

Posting Permissions

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