CompleteQuest problem
Posted: Tue Sep 28, 2010 7:12 pm
I'm having trouble getting the CompleteQuest() function working in my waypoint file. /run CompleteQuest() works in-game, but for some reason this doesn't:
There are no error messages, and I have it working with a different NPC (Dell in Logar) just fine. What's the deal? Is it because Vega has a chat option "Introduction to the armor shop"?
Code: Select all
if( queststate == "complete" ) then
player:target_NPC("Vega"); -- Owner of the Armor Shop in Varanas
yrest(2000);
sendMacro("CompleteQuest();");
yrest(2000);
end