Recycle
Enthusiast
Hi there, it's me again!
With another new issue which I simply can't resolve my head around, my issue is the following:
We have a NPC that has a custom script attached to it (c++) and it works bueno. However, despite the NPC having Gossip and QuestGiver flags we can't seem to make the quest appear.
Examples:
http://i.imgur.com/sOvkY0D.jpg
But as we can tell, there is the "is quest giver" flag enabled.
http://i.imgur.com/Ngy8YDc.png
What am I exactly doing wrong not being able to receive the quests from NPC's that are linked to a ScriptName? What did I overlook? Been trying so hard to figure this out for a few hours now
Thanks already for whatever help I may get!
Edit: For those interested to look at the script:
http://pastebin.com/LKHpVUSU
Edit2:
Fixed it, yahoo! For those interested and having the same issue, all I had to do was add this:
Into the script.
With another new issue which I simply can't resolve my head around, my issue is the following:
We have a NPC that has a custom script attached to it (c++) and it works bueno. However, despite the NPC having Gossip and QuestGiver flags we can't seem to make the quest appear.
Examples:
http://i.imgur.com/sOvkY0D.jpg
But as we can tell, there is the "is quest giver" flag enabled.
http://i.imgur.com/Ngy8YDc.png
What am I exactly doing wrong not being able to receive the quests from NPC's that are linked to a ScriptName? What did I overlook? Been trying so hard to figure this out for a few hours now
Thanks already for whatever help I may get!
Edit: For those interested to look at the script:
http://pastebin.com/LKHpVUSU
Edit2:
Fixed it, yahoo! For those interested and having the same issue, all I had to do was add this:
Code:
if (creature->IsQuestGiver())
player->PrepareQuestMenu(creature->GetGUID());
Into the script.
Last edited: