First, open micromacro and run "rom/createpath". This will set you on your path creation ways. I'll skip this part for now, as most should probably be fairly familiar with it. For this to work, you'll need to fully read Rock5's teleport function, which is located here on the subforums "waypoints", installed, and installed correctly. Secondly, be careful not to use this in open areas.
Secondly :
Opening up your finished waypoint path :
First located and open your waypoint path you've created and would like to convert to a teleport path. Opening with notepad should work fine. Now, let's say you have a entire waypoint file, inside a particular instance, and it's ok to turn on teleporting for the entire waypoint file. Note, as mentioned by Rock5, it's pretty important not to teleport around in public, so play with this inside a instance until you get used to it. Now that you've opened up your waypoint file, let's go ahead and add this, exactly, on the onload portion at the top of the waypoint file.
before :
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="-1456" z="2190" y="-380"> </waypoint>
<!-- # 2 --><waypoint x="-1505" z="2146" y="-380"> </waypoint>
<!-- # 5 --><waypoint x="-1504" z="2190" y="-380"> </waypoint>
<!-- # 6 --><waypoint x="-1721" z="2197" y="-479"> </waypoint>
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<onLoad>
function portToNextWP()
local nextWP = __WPL.Waypoints[__WPL.CurrentWaypoint]
teleport( nextWP.X, nextWP.Z, nextWP.Y)
end
</onLoad>
<!-- # 1 --><waypoint x="-1456" z="2190" y="-380"> </waypoint>
<!-- # 2 --><waypoint x="-1505" z="2146" y="-380"> </waypoint>
<!-- # 5 --><waypoint x="-1504" z="2190" y="-380"> </waypoint>
<!-- # 6 --><waypoint x="-1721" z="2197" y="-479"> </waypoint>
Code: Select all
portToNextWP()
portToNextWP() ---> Will teleport the user to the next chronological waypoint in the list
teleportToIndex() ---> Will teleport user to the next chronological waypoint, without need of the onload section
portToNextWP(numberhere) ---> Will teleport user to the specified waypoint.
Code: Select all
<!-- # 9 --><waypoint x="1334" z="2911" y="318"> portToNextWP() </waypoint>