I figure this is a Script that has already been written, but it is probably buried within another script. Since a method like this would most likely be used as part of a larger script, this is why I figure it would be buried. Being that it most likely has already been written, Im not calling it a Script Request, but a Find That Script post. Well, unless you want to consider it a script request.
What I am looking for is to get map coordinates returned as an array between two points. Two events, event and player, player and new position, whatever, but two points on the Map. Each point on the map will have @x and @y Map coordinates, So I'd need something like this:
Lets do a Right Triangle with matching sides.
Point A is at Map Coordinates @x = 10 and @y = 10
Point B is at Map Coordinates @x = 7 and @y = 13
array I would need back would look something like this for the Coordinates not at the location, just in between:
return [ [9,11],[8,12] ]
I've forgotten too much of my Trig...