Results 1 to 3 of 3

Thread: if phantasm on screen, targetting off?

  1. #1
    iBot User
    Join Date
    Jul 2012
    Posts
    246
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    7
    Rep Power
    0

    if phantasm on screen, targetting off?

    HTML Code:
    if maround(10, 'phantasm')
            settargeting("no"))
        end 
    end

    this doesnt work, someone got an idea ?

    EDIT; working now.


    if maround(3, "Phantasm") > 0 then
    settargeting("no")
    end
    Last edited by terje; 07-29-2013 at 09:01 PM.

  2. #2
    iBot User
    Join Date
    Jul 2012
    Posts
    246
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    7
    Rep Power
    0
    i was pretty close tho! XD

  3. #3
    Banned
    Join Date
    Nov 2012
    Location
    Sweden
    Posts
    450
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    65
    Rep Power
    0

    local CONFIG = {

    MONSTER = { "phantasm" }, -- add more monster if you want
    MONSTER_RANGE = 14, -- consider monsters within this radius
    MONSTER_AMOUNT = 1, -- set targeting off when equal or greater to this amount

    }

    -- ENGINE, DON'T EDIT

    if maround(CONFIG.MONSTER_RANGE, false, unpack(CONFIG.MONSTER)) >= CONFIG.MONSTER_AMOUNT then
    setsettings("Settings\\Targeting\\Enabled","no")
    else
    setsettings("Settings\\Targeting\\Enabled","yes")
    end
    Last edited by PromB; 07-30-2013 at 05:06 AM.

Posting Permissions

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