While trying to develop "node scanner" that would create a suggested waypoint to be injected between two other waypoints I made this and have been using it as is rather than moving forward with the other project.
This is function that can be used with the command line script to make new waypoints you can put in your script file for the next time it is loaded just copy the output from this function call and paste it in your waypoint file:
RomBot command line
Type in 'q' (without quotes) to quit.
Command> findWP()
<!-- #000 --><waypoint x="0000" z="0000" y="0000">player:harvest();</waypoint>
Command>
Where the coordinates of the current position of you character is the put into x,z, and y values.
How do i activate it? I use a laptop and dont have the luxury of a numberpad and would like to play with making some new cavy farming paths......
Oh, and for the MM challenged, where exactly do I place this??
EDIT: WORKED IT OUT!!
If anyone else is wondering, place lua file in: micromacro/scripts/rom/userfunctions
After running MM, locate the "Commandline" in the numbered functions to be able to enter the 'FindWP' fucntion.......
whome wrote:How do i activate it? I use a laptop and dont have the luxury of a numberpad and would like to play with making some new cavy farming paths......
Oh, and for the MM challenged, where exactly do I place this??
EDIT: WORKED IT OUT!!
If anyone else is wondering, place lua file in: micromacro/scripts/rom/userfunctions
After running MM, locate the "Commandline" in the numbered functions to be able to enter the 'FindWP' fucntion.......
Heh, sorry, got busy and couldn't answer. TBH what you need is the createpath.lua file that's in the scripts\rom directory. If your laptop can't use a keypad then you can change the keys in the beginning of the file. I'd reccomend the F1....F10 keys. Just change the VK_NUMPAD1 to VK_F1 and so on.
To make modifying of my waypoints effective, I need to know, how to move character to particular waypoint number or to x,y,z coords. How to do it from commandline?:)