Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<!-- # 1 --><waypoint x="-7095" z="-4141" y="172" tag ='Main'> player:target_NPC("Hugope");
local dqCount, dqPerDay = RoMScript("Daily_count()");
if 10 > dqCount then
queststate = getQuestStatus("Earn a Reputation");
if queststate = "complete" then
-- Complete quest
player:target_NPC("Hugope");
CompleteQuestByName("Earn a Reputation");
__WPL:setWaypointIndex(__WPL:findWaypointTag("Main"));
else
-- Accept quest
player:target_NPC("Hugope");
AcceptQuestByName("Earn a Reputation");
__WPL:setWaypointIndex(__WPL:findWaypointTag("Quest"));
end
else
__WPL:setWaypointIndex(__WPL:findWaypointTag("Done"));
end
</waypoint>
<!-- # 2 --><waypoint x="-7004" z="-4398" y="171"> player:target_NPC("Uncomfortable Adventurer");
player:mouseclickL(546, 233, 1366, 741);
sendMacro("ChoiceOption(1);");
sendMacro("ChoiceOption(1);");
</waypoint>
<!-- # 3 --><waypoint x="-7268" z="-4644" y="171"> </waypoint>
<!-- # 4 --><waypoint x="-7142" z="-4743" y="174"> player:target_NPC("Uncomfortable Adventurer");
sendMacro("ChoiceOption(1);");
sendMacro("ChoiceOption(1);");
</waypoint>
<!-- # 5 --><waypoint x="-7257" z="-4641" y="172"> </waypoint>
<!-- # 6 --><waypoint x="-7023" z="-4458" y="172"> player:target_NPC("Uncomfortable Adventurer");
sendMacro("ChoiceOption(1);");
sendMacro("ChoiceOption(1);");
</waypoint>
<!-- # 7 --><waypoint x="-7110" z="-4159" y="172"> player:target_NPC("Hugope");
sendMacro("ChoiceOption(1);");
sendMacro("ChoiceOption(1);");
</waypoint>
</waypoints>
i really have no idea what i was doing,
first time trying to create a waypoint profile for the heffner daily with the creatpath.lua feature,
if someone can show me how to interact with the quest npc where you talk to him, then choose the option to chat or accept give him the items to complete the quests,
i somehow get how to run to a spot, choose create the waypoints, but when interacting with the npc, i get lost LOL,
but if someone also have a simple heffner waypoint for the earn a reputation daily and would like to share with me please do