combat distances question

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
nerdyone255
Posts: 107
Joined: Mon Nov 22, 2010 10:17 am

combat distances question

#1 Post by nerdyone255 »

quick question about combat distance:

when i set the COMBAT_DISTANCE option in my profile to a low # (20 or less), my char still engages the mob, walks to it, and attacks at the distance of 20.

my question is: how do i get my char to totally ignore mobs outside a certian distance.

its a ranged class...
Starrider
Posts: 164
Joined: Sat May 01, 2010 7:04 am
Location: Germany

Re: combat distances question

#2 Post by Starrider »

<option name="MAX_TARGET_DIST" value="120" /> serches for mobs in a range of 120
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: combat distances question

#3 Post by rock5 »

And just to clarify things COMBAT_DISTANCE is how close it moves to the monster before starting an attack.
  • 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
nerdyone255
Posts: 107
Joined: Mon Nov 22, 2010 10:17 am

Re: combat distances question

#4 Post by nerdyone255 »

this is exactly what i wanted thanks so much!!

one last question, is there a similar distance option to control height of mobs to engage? like a z distance trigger?
Alkaiser
Posts: 222
Joined: Sat Sep 25, 2010 2:03 pm

Re: combat distances question

#5 Post by Alkaiser »

nerdyone255 wrote:one last question, is there a similar distance option to control height of mobs to engage? like a z distance trigger?
From what I can see there is no profile option for this purpose.

In player.lua, the function evalTargetDefault has a check for difference of Y.

Code: Select all

	-- Check height difference
	if( math.abs(target.Y - player.Y) > 45 ) then
		return false;
	end
User avatar
Administrator
Site Admin
Posts: 5353
Joined: Sat Jan 05, 2008 4:21 pm

Re: combat distances question

#6 Post by Administrator »

Yes, height is on the Y axis and is taken care of the way Alkaiser pointed out.
Post Reply