Page 1 of 1
Request: increased targeting range
Posted: Tue Aug 03, 2010 4:31 am
by Wazza77
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.
Re: Request: increased targeting range
Posted: Tue Aug 03, 2010 5:29 am
by rock5
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.
Re: Request: increased targeting range
Posted: Tue Aug 03, 2010 3:26 pm
by Administrator
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
Re: Request: increased targeting range
Posted: Wed Aug 04, 2010 2:00 am
by Wazza77
Awesome! I will try it out!