Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: When "there is no way" set Targeting ON and attack trapped monsters.

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

    When "there is no way" set Targeting ON and attack trapped monsters.

    My script using actions "set targeting on / off" in different spots. Sometimes My bot set off the targetting like I wanted, and In narrow path bot got trapped from both side by Spearmans. I dont want to attack them at spawns also sometimes want to miss few spots with monsters at targeting thats why i use function turn off/on the targeting. I want to ask is it possible to do an Action like: "If trapped (there is now way) set targeting ON" then I will add spearmans with condition "only if traped". Can some1 help me with this action?

  2. #2
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Ahhh, just Add spearmen to targeting list and set OnlyIfTrapped to yes...

    "There is no way" is considered trapped and will only target them then.

    problem solved

  3. #3
    Normal User
    Join Date
    May 2012
    Posts
    160
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    Hmm I think he wanted to say smth... ? Dont know

  4. #4
    Normal User
    Join Date
    Oct 2012
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5


    Uploaded with ImageShack.us

    Understood now? Please Help me :<

  5. #5
    Normal User
    Join Date
    Jun 2012
    Location
    The Interwebs
    Posts
    356
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    26
    Rep Power
    5
    dont put targetting off then? lol..

  6. #6
    Normal User
    Join Date
    Oct 2012
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by fsma92 View Post
    dont put targetting off then? lol..
    .... U think that I am so stupid to add action for target off/on only to make my life harder?
    I need targetting off.

  7. #7
    Normal User
    Join Date
    Jul 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    got the same problem

  8. #8
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Create better targeting settings then....

    Why do you need to disable targeting? why not instead change the settings for some monsters from Always attack to only attack if trapped when traveling to spawn intead of turning targeting off completely?

  9. #9
    Normal User
    Join Date
    Oct 2012
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Bcoz I need to hunt both spawns. And the way to the next one isnt so short. I need to run through the Other players spawns. Why have I turned off targetting? Bcoz monsters at other players spawns are the same what I am hunting, and my character attacked them. Ppl were angry and killed me 2 times for this.

    So i need to have got turn off targetting when I am runing but, if I got trapped by spearmans bot should have action to turn targetting on Kill trapped monsters and run to the next wpt.

  10. #10
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Instead of settargeting("no") use:

    PHP Code:
    local CREATURES = {"Orc","Orc Spearman"}

    for 
    1#CREATURES do
        
    setsettings("Settings\\Targeting\\Monsters\\"..CREATURES[i].."\\OnlyIfTrapped","yes") -- OnlyIfTrapped yes
    end 
    PHP Code:
    local CREATURES = {"Orc","Orc Spearman"}

    for 
    1#CREATURES do
        
    setsettings("Settings\\Targeting\\Monsters\\"..CREATURES[i].."\\OnlyIfTrapped","no") -- OnlyIfTrapped no
    end 
    Last edited by soder; 11-05-2012 at 11:20 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
  •