This script contains two main subroutines: moveto and movetoobject. Since these are common functions, you might want to create a "common" folder in your scripts directory and include it.
example:
See the script itself for more info. There's quite a bit of debug echos in there that are commented out. This is still a work in progress, but from all the testing I've done it works great, including obstacle detection.
Credits (from the script):
Version info (in script):
example:
Code:
#include ./common/moveto.iss
function main()
{
;typically you only want to use one of these at a time
;Gets an NPC's ID number, then moves to within 5 feet but not closer than 2 feet.
call movetoobject ${Pawn[npc].ID} 5 2
; moves to the below X,Y location with a precision of 100
call moveto 19230 -45205 100
}
Credits (from the script):
Code:
/* credits:
This script has been written, rewritten, and contributed to by many people.
Most notably by Fippy, scubaski, and don'tdoit. Not possible without Lax and Amadeus. <3
Get Innerspace: www.lavishsoft.com
Get ISXVG: www.isxgames.com
Feel free to use and redistribute in a non-commercial manner as long as you keep the above (and add to them when necessary) in place.
If you remember working on this (from wowhunter days or before), let me know and i'll change my credits lines.
*/
Code:
/* Version:
v1.0 - Initial Release
v1.1 - Fixed a bug with a ' instead of a ;
*/
Attachments
-
6.4 KB Views: 899
Last edited: