Request: increased targeting range

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Wazza77
Posts: 17
Joined: Mon Nov 09, 2009 3:58 am

Request: increased targeting range

#1 Post by Wazza77 » Tue Aug 03, 2010 4:31 am

In the newer version of the bot you don't use TAB to choose a new target, but instead uses memory and get the best suited target from there (this is my guess). My request would be if I could do the same when just playing myself. I want to be able to target a mob with a key further away then if I'd use the usual TAB key. Your thought plz.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Request: increased targeting range

#2 Post by rock5 » Tue Aug 03, 2010 5:29 am

Wazza77 wrote:In the newer version of the bot you don't use TAB to choose a new target, but instead uses memory and get the best suited target from there (this is my guess). My request would be if I could do the same when just playing myself. I want to be able to target a mob with a key further away then if I'd use the usual TAB key. Your thought plz.
I love this idea. I'd love to add something like this to my RBAssist script. I don't know how to intercept keypresses though. I'll need to know that first. I'll look into it.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

User avatar
Administrator
Site Admin
Posts: 5329
Joined: Sat Jan 05, 2008 4:21 pm

Re: Request: increased targeting range

#3 Post by Administrator » Tue Aug 03, 2010 3:26 pm

Well, you could run a loop and constantly check for a keypress, then do the target cycling code.

Code: Select all

while(true) do
  if( keyPressed(key.VK_WHATEVER) ) then
    player:target( player:findEnemy(false, nil, evalTargetDefault, self.IgnoreTarget) );
  end

  yrest(1);
end

Wazza77
Posts: 17
Joined: Mon Nov 09, 2009 3:58 am

Re: Request: increased targeting range

#4 Post by Wazza77 » Wed Aug 04, 2010 2:00 am

Awesome! I will try it out!

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests