forked from cmangos/mangos-wotlk
-
Notifications
You must be signed in to change notification settings - Fork 0
Npc_gossip
Schmoozerd edited this page Apr 14, 2013
·
1 revision
Back to world database list of tables.
This table is the link between NPCs and gossip text. When you click on an NPC that says something more than just "Greetings ", this is the table that links that NPC to the text.
Field | Type | Null | Key | Default | Extra |
npc_guid | int(11) unsigned | NO | PRI | 0 | |
textid | int(11) unsigned | NO | 0 | ||
You place the GUID from creature.guid in this field for the NPC that you want to have gossip.
This is the ID from npc_text.ID of the text that you want the NPC to say.
Now, to get your NPC to actually say something, you need to update creature_template.npcflag with the gossip flag, which is 1.