http://www.solarstrike.net/phpBB3/viewt ... ents#p1476
It looks like something handy I need to learn more about.
EI_01_InTheValley_converted was the output of your function it created 527 waypoints. But not quite what I had envisioned. I was wanting to go line by line and output the non waypont lines as well, to keep the basic flow of the original that can be then cut up and reformatted.
If I am understanding this getElements the way you used it would not allow the line by line output of wp and code. But reading that url I listed it seems there is a way to us it to do line by line reading.
Instead of this
- EI_01_InTheValleypoints = {
player:moveTo(CWaypoint(31954, 3278),true)
player:moveTo(CWaypoint(31978, 3441),true)
player:moveTo(CWaypoint(31932, 3733),true)
player:moveTo(CWaypoint(31880, 4091),true)
player:moveTo(CWaypoint(31835, 4202),true)
- <?xml version="1.0" encoding="utf-8"?><waypoints type="RUN">
<!-- This is a series of waypoint files that will complete a walk-through of the entire Elven Island quest series. -->
<!-- Required userfunctions: userfunction_teleport and userfunction_questHelpers -->
<!-- EI_01_InTheValley will complete all quests inside the Valley of Perparation -->
<!-- Approximate Runtime: 35 Minutes -->
<onload>
__WPL:setWaypointIndex(1)
</onload>
player:moveTo(CWaypoint(31954, 3278),true)
player:target_NPC(112793) -- Gamunhan
AcceptQuestByName(422241) -- Getting to Know Yourself
CompleteQuestByName(422241) -- Getting to Know Yourself
AcceptQuestByName(422242) -- Elven Academy
</waypoint> <<<< --------------------- I dont know if this would be left or not but it needed removed.
player:moveTo(CWaypoint(31978, 3441),true)
player:moveTo(CWaypoint(31932, 3733),true)
player:moveTo(CWaypoint(31880, 4091),true)
player:moveTo(CWaypoint(31835, 4202),true)