Question on Distance to Spawn

A forum for feature requests/discussions and user submitted patches that improve MQ2

Moderator: MacroQuest Developers

Plazmic
The One
The One
Posts: 800
Joined: Fri Jun 14, 2002 12:31 am
Contact:

Post by Plazmic » Thu Sep 25, 2003 4:04 am

Wassup wrote:I'm not talking about /face, I am talking about $target(distance).

I said EstimatedDistanceToSpawn is unuseable for getting a distance to a target.
...
However, it is completely unrelated to finding the target distance.
Uhmm... this is why I'm flaming.
$target(distance,nopredict) returns the distance to the target's current location. (which "/face nopredict" points you towards)

$target(distance) returns the distance to a target's intercept point (which "/face" points you towards)

See a parallel here?
- Plazmic

wassup
Official Guardian and Writer of TFM
Official Guardian and Writer of TFM
Posts: 1487
Joined: Sat Oct 26, 2002 5:15 pm

Post by wassup » Thu Sep 25, 2003 4:55 am

Plazmic wrote:
Wassup wrote:I'm not talking about /face, I am talking about $target(distance).

I said EstimatedDistanceToSpawn is unuseable for getting a distance to a target.
...
However, it is completely unrelated to finding the target distance.
Uhmm... this is why I'm flaming.
$target(distance,nopredict) returns the distance to the target's current location. (which "/face nopredict" points you towards)

$target(distance) returns the distance to a target's intercept point (which "/face" points you towards)

See a parallel here?
I can understand the difference, and it makes more sense when explained that way. Would have been wonderful to get that explanation first, instead of people just blasting me. The documentation (yes, outdated I know) doesn't even come close to explaining it that way.

Now, if I can make another suggestion...

How about making it:

$target(distance,predict) to use EstimatedDistanceToSpawn

$target(distance) to use DistanceToSpawn

This would be much more intuitive.

Plazmic
The One
The One
Posts: 800
Joined: Fri Jun 14, 2002 12:31 am
Contact:

Post by Plazmic » Thu Sep 25, 2003 12:03 pm

Backwards compatibility.. you wouldn't want to break every script in existance that depends on it as is...
- Plazmic

wassup
Official Guardian and Writer of TFM
Official Guardian and Writer of TFM
Posts: 1487
Joined: Sat Oct 26, 2002 5:15 pm

Post by wassup » Thu Sep 25, 2003 12:09 pm

Not really that hard to change...

Find: $target(distance)
Replace: $target(distance,predict)

Find: $target(distance,nopredict)
Replace: $target(distance)

Notepad does a nice job of it ;)

Anyway, this has been talked about enough. Didn't mean to raise anyone's hackles.

Gandalf_the_White
decaying skeleton
decaying skeleton
Posts: 7
Joined: Sat Apr 12, 2003 3:52 pm

Post by Gandalf_the_White » Thu Sep 25, 2003 12:52 pm

you can always do this in a private copy, like I do