Jump to content

Interact with NPC with no Objective count


KnightRyder

Recommended Posts

Hello again. Got another problem...

 

I am on quest 37467 The Walk of Shame where you accecpt the quest from Prince Farondis, then talk to him to start the escort quest. 

 

The problem I am having is that when you talk to him, the objectives do not change.

If I set an Objective count as a 1, it will interact with the NPC, the escort part will proceede and the NPC will run off but I will just stand there as the objective is not complete. 

If i set all objective counts to 0, it does not the action InteractWithNpc step and immediately tries to follow. 

 

I've been looking at all other profiles that have InteractWithNpc, and it seems they all have at least 1 Objective count. Does the WRobot need to be changed/updated so it will process InteractWithNpc without an Objective? Is there something I can put in the "Is complete condition" section?

Link to comment
Share on other sites

The "Auto detect Objective" doesn't seem to work either. There's probably another (better) way but I got it to work.

Since the NPC ID changed after interacting, I was able to use the "Is complete condition" and put the following code in:

return ObjectManager.GetWoWUnitByEntry(88889).Count == 1;

The new NPC spawns after being interacted with, therefore marks it complete and can go to next step. 

 

 

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
×
×
  • Create New...