Results 1 to 3 of 3

Thread: [Request] Turn on/off a special area (luring)

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

    Question [Request] Turn on/off a special area (luring)

    I need help with a hotkey/action that turns on a special area, for example, if im south of it and turn it off if im north of this special area (luring a monster).


    And another hotkey/action to set lure monster if im north of this special area and change to keep away if im south of it.

    Thanks.

  2. #2
    Normal User cat_salgado's Avatar
    Join Date
    Oct 2012
    Location
    Mexico
    Posts
    181
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    31
    Rep Power
    5
    if it is as you said you need to check the "Y" coordinate for example if the Y coordinate of your special area is 30300 then
    (remembering that tibia map is y+ to the south and y- to the north) you should use an action like this

    Code:
    local MONSTERS = {'sibang','carniphila','merlkin','kongra'}
    
    if posy < 30300 then
      setsettings('Settings\\CaveBot\\Pathfinding\\SpecialAreas\\NewArea0\\ConsideredBy','Target')
      for i = 1, #MONSTERS do
          setsettings('Settings\\Targeting\\Monsters\\'..MONSTERS[i]..'\\ListSettings\\Setting0\\Stance','Lure')
      end
    else
      setsettings('Settings\\CaveBot\\Pathfinding\\SpecialAreas\\NewArea0\\ConsideredBy','None')
      for i = 1, #MONSTERS do
          setsettings('Settings\\Targeting\\Monsters\\'..MONSTERS[i]..'\\ListSettings\\Setting0\\Stance','Keep Away')
      end
    end
    just change the name of special area and the monsters list


    FREE/PAY LASTEST SCRIPTS LAST VERSION LINK
    PURCHASE ULTIMATE DRAGON LORDS ZAO v1.0 15/01/13 Click Here
    FREE CYC THAIS RUN IF PK 100% AFK v1.4 06/01/13 Click Here
    FREE TARANTULAS PH WITH TASKER v2.2 16/01/13 Click Here

  3. #3
    Normal User
    Join Date
    Jun 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Yes that was what I meant.

    Thanks a lot.

    REP +

Posting Permissions

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