Forum > Serverside Modding
Trinity core gossip
<< < (3/3)
elarose:
Yes, its fine to combine flags in the 'creature_template', having things such as a npc who trains, has a vendor option, and also gives you gossip.
Thats where the gossip_menu_option ties in, to give you the clickable options on your gossip menu. Hit trinity wiki and look for the gossip_menu_option. It will make things crystal clear.
There is a notable drawback -explains- Flagging for vendor, even if you have a gossip menu hooked up,with correct gossip_menu_option, and flagged correctly, your npc will just open vendor and bypass gossip.
(basically a vendor flagged as vendor + gossip will just be a vendor without gossip unless he has something else on its list)
If you flag it to be a vendor and a quest giver, it will show your gossip and the quest+option to open vendor. BUT when you complete the quest, again the npc will railroad you..and just become a vendor with no gossip.
A workaround is adding a 'talk to me further' option as well as having the vendor option.
(i beleive there was a way to change the vendor issue in the core, moreso that its just default 3.3.5a behaviour)
Lastly im not sure your aware of this, and i have no idea how your giving out free npc id's for maruum, but if you want trainers to work, dont go high into the 6 figures. IE: npc id 800000, at that high of an id, flagging the npc to be a -trainer- will fail. At that point the npc will get upset saying things such as 'rack off' 'leave me be' as you click it wildly wanting it to teach you =P
Steff:
As we will delete all existing NPCs we have much free space in db ;)
I only want to know this becaus the editor will set the flags autmaticly if you add an option like gossip entry or acti vate as vendor.
Navigation
[0] Message Index
[*] Previous page
|