Post
by Colmino » Mon Jul 10, 2006 12:10 pm
Subject says it all. Basically looking to determine the vectors, as defined by X and Y variables of value -1 to +1, which correcpond to a heading from LocA(y,x) to LocB (y,x). Would also need to be able to convert said x,y vector into an "angle" which would be usable from the /face command.
The purpose? I intend to develop (or simply borrow the efforts of the more knowledgeable folks here) a modification to a standard "run to" macro which will take into account dangerous KOS mobs in close proximity and skirt around them specifically by averaging the "run to" and the "mob direction" vectors. The result would serve nicely, for all that it would likely look a bit odd.
The point is, in order to accomplish the above, the apparent limitations of MacroQuest seem to indicate that the only possible method (Target.Heading.Degrees) is to target both the "move to" target and the "killed NPC" target - perhaps in an alternating capacity. Not only is it deeply hokey to change between two targets so rapidly, but such rapid-fire commands are precisely what one may desire to avoid.
Just to reiterate: Ultimately I'm after a follow / run-to script which skirts around known hazards ushng the averaging solution I stipulated above.
Thanks for reading!