I just made a NPC on Wow-V who is compatiable with gossip. When i talk to the NPC , all it comes up with is ' Greetings Ben. How may I help you? ' . How do i change this to what i want? Thank you![]()
I just made a NPC on Wow-V who is compatiable with gossip. When i talk to the NPC , all it comes up with is ' Greetings Ben. How may I help you? ' . How do i change this to what i want? Thank you![]()
Please...? Also, how do you change what some mob like a boss can drop as loot? Cause on WoW-V they only put gold.. Ty once again!
-.- If you just be patient then people will answer. I'm not online 24 hours a day and nor is anyone else.
Regarding your question, in the database take a look at npc_text and npc_gossip_textid (or something) tables. Npc_text controlls what the npc will say, and the gossip to textid controls which npcid goes to which npc text. You link up the npc id with the one in npc_text. Once you have done this save and restart server (might need to delete cache folder as well).
To make this work with Lua, you need to change the gossip create menu id to the npc_text id.
To add to stoneharry's post, you can also create a c++ script that inherits the GossipScript class and register it through arc's ScriptMgr