Code: Select all
<!-- # 2 --><waypoint x="5544" z="-4196">
player:target_NPC("Parsting"); yrest(2000);
sendMacro("ChoiceOption(1);");yrest(2000);
sendMacro("CompleteQuest();");yrest(1000); --this line doesn't work
</waypoint>
Code: Select all
<!-- # 2 --><waypoint x="5544" z="-4196">
player:target_NPC("Parsting"); yrest(2000);
sendMacro("ChoiceOption(1);");yrest(2000);
sendMacro("CompleteQuest();");yrest(1000); --this line doesn't work
</waypoint>
I got a solution for both.miximixi007 wrote:I don`t know how to confirm my second class after select class instructor.anyone can help me? thanksotherwish,next step,i wanna open skill frame and select transport:Reifort . Please show me a way.thx again.Code: Select all
<!-- # 2 --><waypoint x="5544" z="-4196"> player:target_NPC("Parsting"); yrest(2000); sendMacro("ChoiceOption(1);");yrest(2000); sendMacro("CompleteQuest();");yrest(1000); --this line doesn't work </waypoint>
Code: Select all
sendMacro("StaticPopup_OnClick(StaticPopup1, 1);");
Code: Select all
if RoMScript("GetSkillDetail(1,4)") == "Transport: Reifort" then
RoMScript("UseSkill(1,4);"); -- Teleport to Reifort
elseif RoMScript("GetSkillDetail(1,3)") == "Transport: Reifort" then
RoMScript("UseSkill(1,3);"); -- Teleport to Reifort
end
Sorry, I assumed when you didn't know how to do it, that it was a popup. My bad.miximixi007 wrote:sorry,it still doesn't work.coz the conversation isn't popup frame.
That's because it is not a quest, it is an standard option. Just do ChoiceOption again.miximixi007 wrote:Code: Select all
sendMacro("ChoiceOption(1);");yrest(2000); sendMacro("CompleteQuest();");yrest(1000); --this line doesn't work
Code: Select all
if RoMScript("GetSkillDetail(1,4)") == "Transport: Reifort" then
RoMScript("UseSkill(1,4);"); -- Teleport to Reifort
yrest(90*1000);
elseif RoMScript("GetSkillDetail(1,3)") == "Transport: Reifort" then
RoMScript("UseSkill(1,3);"); -- Teleport to Reifort
yrest(90*1000);
end
I just added 1 pause after the 'if' statement. Why repeat it twice?miximixi007 wrote:
it`s OK.
btw,i guess the teleport need add code like this:
Users browsing this forum: No registered users and 0 guests