Signup Now
Results 1 to 6 of 6
  1. #1
    Free User
    Join Date
    Feb 2017
    Posts
    10
    Reputation
    10
    Rep Power
    0

    Question Doest this function exist?

    Hi guys!!

    I have noticed that the "targeting" label has sublabels to create. Like "profiles". Just like the cavebot has diferent labels that you can create with different names and waypoints and the bot can switch labels of cavebot if an action waypoints say so.

    So i was thinking if it is possible to create a persistent action that makes the bot change from one targeting profile called xxx to another targeting profile called yyy when X monster appears.

    cya guys

  2. #2
    Free User ozzix's Avatar
    Join Date
    Jan 2014
    Location
    Sweden
    Posts
    4,769
    Reputation
    151
    Rep Power
    32
    the function is switchprofile('targeting', 'targetlistname') so for example
    auto(500)
    if maround(7, 'rat') then
    switchprofile('targeting', 'ratTargeting')
    else
    switchprofile('targeting', 'normalTargeting')
    end

    Level Latest Scripts
    250+
    Oramond Sewers [MAGE |RP X1 | RP X2 |RP X3|EK X2 | EK X1]
    200+
    Banuta X2 [MAGE | RP]
    280+
    Roshamuul Mountain [RP]
    280+
    Ferumbras Lair [RP]
    250+
    Roshamuul North Silencers [RP]

  3. #3
    Free User
    Join Date
    Feb 2017
    Posts
    10
    Reputation
    10
    Rep Power
    0
    Nice. I modified it a little bit and added an action to put stealth when stone golem or gozzler are close. I tested it and it works!!

    PHP Code:
    init start

        local MonsterR 
    = {'Stone Golem''Gozzler'
        
    local minAmount 
        local mAmount 

        item 
    itemid(MonsterRing)
        
    local MonsterRing 'Stealth ring' 

    init end

    auto
    (1000)

    if (
    maround(5unpack(MonsterR)) >= minAmountthen
       switchprofile
    ('targeting''danger')
        
    equipitem(item"finger")

    else 
       
    switchprofile('targeting''training')
        
    moveitems(item0"finger")



    end 

  4. #4
    Wind Powered
    Join Date
    Mar 2017
    Posts
    153
    Reputation
    46
    Rep Power
    16
    I bet you're training at farmine mine
    All four vocation project.
    From zero to hero
    CLICK HERE TO CHECK IT OUT!

  5. #5
    Free User
    Join Date
    Feb 2017
    Posts
    10
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by tesitingit View Post
    I bet you're training at farmine mine
    hahahaha no way how did you guess XDD

  6. #6
    Wind Powered
    Join Date
    Mar 2017
    Posts
    153
    Reputation
    46
    Rep Power
    16
    used to train there like 5 years ago
    gozzlers, stone golems and gargoyles + your targeting setting "training"
    All four vocation project.
    From zero to hero
    CLICK HERE TO CHECK IT OUT!

 

 

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
  •