Jump to content

Accept Quest


pattax
 Share

Recommended Posts

Hey,

Let's say I'm standing close to a NPC, I have it's guid and i want to accept/turn in all the quests he got how do I proceed?

Maybe I'm just blind and haven't found the proper class for my case, I hope u guys can help me :)

    public void getQNPC()
    {
        var guid = getGroup().First().TargetObject.Guid; // Getting the GUID via target of target from main character
        Interact.InteractGameObject(ObjectManager.GetObjectByGuid(guid).GetBaseAddress); // Interact/Open NPC Window
		//???
    }

 

Link to comment
Share on other sites

Just had a quick look, not sure if it works but;

wManager.Wow.Helpers.Quest.AcceptQuest();
wManager.Wow.Helpers.Quest.CompleteQuest(int);

There are more options under Quest. which you probably also want to use.

Link to comment
Share on other sites

Just now, Marsbar said:

Just had a quick look, not sure if it works but;

wManager.Wow.Helpers.Quest.AcceptQuest();
wManager.Wow.Helpers.Quest.CompleteQuest(int);

 

I tried that but nothing happens.

Link to comment
Share on other sites

I assume you need to go into the gossip option first, then do one of these.

Edit: Try manually selecting a gossip option (a quest) and then running the AcceptQuest from the dev console.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...