Results 1 to 5 of 5

Thread: Set target off if there is no spear.

  1. #1
    Normal User
    Join Date
    Feb 2013
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Lightbulb Set target off if there is no spear.

    Hello, I want to request an actions that set target off if there isn't spear and turn back when it has.
    Thanks.

  2. #2
    Normal User
    Join Date
    Feb 2013
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Here I am to answer my own thread, if somebody want to know how it works..

    If weaponamount("Royal Spear") < 3 then
    settargeting('off')
    wait(1000)
    end

    To set target on again, add an action before reaches your hunt.

    settargeting('on')

  3. #3
    iBot User
    Join Date
    Jun 2012
    Posts
    517
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    132
    Rep Power
    7
    Code:
    if weaponamount < 3 then
    settargeting('off')
    wait(1000)
    end
    And here you are.

  4. #4
    Normal User
    Join Date
    Feb 2013
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Btw Thanks

    Quote Originally Posted by garkstal13 View Post
    Code:
    if weaponamount < 3 then
    settargeting('off')
    wait(1000)
    end
    And here you are.

  5. #5
    iBot User
    Join Date
    Feb 2013
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    i use it you no need add wpt to turn targeting on

    if weaponamount < 2 then
    settargeting('off')
    wait(1000)
    else
    settargeting('on')
    end

Tags for this Thread

Posting Permissions

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