Page 2 of 2

Posted: Thu Sep 25, 2003 4:04 am
by Plazmic
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?

Posted: Thu Sep 25, 2003 4:55 am
by wassup
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.

Posted: Thu Sep 25, 2003 12:03 pm
by Plazmic
Backwards compatibility.. you wouldn't want to break every script in existance that depends on it as is...

Posted: Thu Sep 25, 2003 12:09 pm
by wassup
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.

Posted: Thu Sep 25, 2003 12:52 pm
by Gandalf_the_White
you can always do this in a private copy, like I do