What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

Am I assuming correctly...

Status
Not open for further replies.

LiquidAtoR

Community Developer
Joined
Jan 15, 2010
Messages
1,430
Reaction score
52
Just ignore!

Too tired to dig trough stuff so I ask and hope for a quick question.
I'm having a fight with Handnavi's old ILoveAnimals CC (I still prefer it over the Singular one).

Navigator.MoveTo(Me.CurrentTarget.Location) all fine and dandy. I understand Navigator moves you to your target's current location.

Now if I want to have it move within let's say 2 feet of the target, would this suffice?
I don't want it spot on the target's location, within melee range is good enough and I figured 2f = 2 feet.

Navigator.MoveTo(Me.CurrentTarget.Location, 2f)

Or am I again too thickheaded and not ever gonna learn comprehend the depths of this language.
 
Last edited:
Please disregard this if I've missed the point of your topic, but 2f = value 2.0 float. (looking at who I'm replying to, I suspect I've missed the point). I seem to remember from a test I did a while ago that 4(ish) points in game is equivelent to 1 yard, tho I cannot be sure without sifting through loads of stuff.

Also slightly confused about the Navigator.MoveTo() method you are calling, as mine only has one argument? A WoWPoint.

Kinda thinking that Styx.Helpers.WoWMathHelper class may be of some help. Specifically Styx.Helpers.WoWMathHelpers.CalculatePointFrom() among others.
 
No, it's not you.

I'm the one that's only half present and don't have a clear head anymore.
Had 2 wisdomteeth removed 2 hours ago (one had the nerves hanging out) and am currently fully loaded not to feel the pain :D
And the stuff starts to kick in (and thus making me foggy to say the least).

I'm completely mixing up things and don't make any sense at all. Just ignore me for today.
Tomorrow I will hopefully have a clearer head and don't have to ask stupid questions like these.

I will just go to bed and give up for today...
 
Hey no worries dude, live it up while the painkillers are working. A free hit like that doesn't come along every day lol Sorry about the nerves tho, kinda thinking that may be "tingly" for a while. Sleep well, and if you can get the time from work, get a lie-in in the morning. Oo and keep water nearby. Painkillers like that, need to be flushed.
 
Status
Not open for further replies.
Back
Top