rays
Usage
rays <coord> <move-dir1> <move-dir2>
Return value
Array of coordinates of all spaces within "rays" of movement beyond <coord>. Specifically, it includes all spaces reachable from <coord> by moving <move-dir1> squares horizontally and <move-dir2> vertically, plus those reachable by moving <move-dir2> squares horizontally and <move-dir1> vertically.
Example
See also
page revision: 2, last edited: 12 Oct 2008 03:31