Results 1 to 6 of 6

Thread: looking for stop targeting if xyz monster on screen

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

    looking for stop targeting if xyz monster on screen

    i need some action that will stop targeting for example if lizard high guard , lizard legionare... on screen and if no those monster on screen .... wait 5sec (5000?) targeting enabled.


    so if those monsters on screen it should stop targeting and if those monsters gone it should w8 5secs and enable targeting again

    thanks.

  2. #2
    iBot User Rangorak's Avatar
    Join Date
    Jun 2012
    Location
    Switzerland
    Posts
    36
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    if maround(5, "Lizard High Guard", "Lizard Legionnaire", 1) Then
    settargeting("no")
    else
    wait(5000)
    settargeting("yes")
    end

  3. #3
    iBot User
    Join Date
    Jun 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Stop targeting when x monters on screen pleasee

    HElpp! Stop targeting when x monters on screen pleasee

  4. #4
    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
    PHP Code:
    local mosnter = {"moster1, "monster2"}

    if maround(10, unpack(monster)) then
    settargeting('off')
    end 

  5. #5
    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
    Quote Originally Posted by Joelci View Post
    HElpp! Stop targeting when x monters on screen pleasee
    PHP Code:
    local mosnter = {"moster1""monster2"}

    if 
    maround(10unpack(monster)) then
    settargeting
    ('off')
    end 

  6. #6
    Banned
    Join Date
    May 2012
    Posts
    1,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    127
    Rep Power
    0
    PHP Code:
    if maround(10"Lizard High Guard""Lizard Legionaire") > 0 then
         System
    .TargetingEnabled(false)
    else
         
    wait(5000)
         
    System.TargetingEnabled(true)
    end 

    And you need sirmate's library btw

Posting Permissions

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