Results 1 to 4 of 4

Thread: Action to turn off the targetting when i have no spears left

  1. #1
    Normal User
    Join Date
    Aug 2012
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Action to turn off the targetting when i have no spears left

    hello guys

    i need an Action to turn off the targetting when i have no spears left, and turn it back on when i´m refilled

    thx

  2. #2
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    817
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    345 Post(s)
    Reputation
    462
    Rep Power
    10
    Try:

    PHP Code:
    --Minimum spears count:
    local minimumSpears 3

    if weaponamount minimumSpears
    then
        settargeting
    ("off")
    elseif 
    weaponamount >= minimumSpears
    then
        settargeting
    ("on")
    end 


    ------------------------------------Latest Releases:------------------------------------
    Vocations:
    Darashia Lions Rock
    Oramond Seacrest Serpents X1

    For a better iBot!

    (◣_◢)

  3. #3
    Normal User
    Join Date
    Aug 2012
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    didn't work
    Last edited by perigolo; 09-29-2012 at 01:04 AM.

  4. #4
    Normal User
    Join Date
    Aug 2012
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    up, anyone?

Posting Permissions

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