...
The id associated with this gossip_menu_option. Must be unique for a given menu_id
Panel |
---|
Name | ID | Description |
---|
GOSSIP_ICON_CHAT |
= 0, //white | 0 | White chat bubble | GOSSIP_ICON_VENDOR |
= 1, //brown | 1 | Brown bag | GOSSIP_ICON_TAXI |
= 2, //flight | 2 | Flight | GOSSIP_ICON_TRAINER |
= 3, //book | 3 | Book | GOSSIP_ICON_INTERACT_1 |
= 4, //interaction | 4 | Interaction wheel | GOSSIP_ICON_INTERACT_2 |
= 5, //interaction | 5 | Interaction wheel | GOSSIP_ICON_MONEY_BAG |
= 6, //brown | 6 | Brown bag with yellow dot (gold) | GOSSIP_ICON_TALK |
= 7, //white | 7 | White chat bubble with black dots (...) | GOSSIP_ICON_TABARD |
= 8, //tabard | 8 | Tabard | GOSSIP_ICON_BATTLE |
= 9, //two | 9 | Two swords | GOSSIP_ICON_DOT |
= 10, //yellow |
This is is the text that you want displayed in the player selectable option. Examples would be "Please train me.", "I would like to browse your goods.", "Learn Dual Spec".
Panel |
---|
option_id name | option_id value | npcflag name (& comment) | npcflag value |
---|
GOSSIP_OPTION_NONE | 0 | UNIT_NPC_FLAG_NONE | 0 | GOSSIP_OPTION_GOSSIP | 1 | UNIT_NPC_FLAG_GOSSIP | 1 | GOSSIP_OPTION_QUESTGIVER | 2 | UNIT_NPC_FLAG_QUESTGIVER | 2 | GOSSIP_OPTION_VENDOR | 3 | UNIT_NPC_FLAG_VENDOR (Make sure there is npc_vendor data for this creature) | 128 | GOSSIP_OPTION_TAXIVENDOR | 4 | UNIT_NPC_FLAG_TAXIVENDOR | 8192 | GOSSIP_OPTION_TRAINER | 5 | UNIT_NPC_FLAG_TRAINER (Remember to set trainer_class in creature_template) | 16 | GOSSIP_OPTION_SPIRITHEALER | 6 | UNIT_NPC_FLAG_SPIRITHEALER | 16384 | GOSSIP_OPTION_SPIRITGUIDE | 7 | UNIT_NPC_FLAG_SPIRITGUIDE | 32768 | GOSSIP_OPTION_INNKEEPER | 8 | UNIT_NPC_FLAG_INNKEEPER | 65536 | GOSSIP_OPTION_BANKER | 9 | UNIT_NPC_FLAG_BANKER | 131072 | GOSSIP_OPTION_PETITIONER | 10 | UNIT_NPC_FLAG_PETITIONER | 262144 | GOSSIP_OPTION_TABARDDESIGNER | 11 | UNIT_NPC_FLAG_TABARDDESIGNER | 524288 | GOSSIP_OPTION_BATTLEFIELD | 12 | UNIT_NPC_FLAG_BATTLEFIELDPERSON | 1048576 | GOSSIP_OPTION_AUCTIONEER | 13 | UNIT_NPC_FLAG_AUCTIONEER | 2097152 | GOSSIP_OPTION_STABLEPET | 14 | UNIT_NPC_FLAG_STABLE | 4194304 | GOSSIP_OPTION_ARMORER | 15 | UNIT_NPC_FLAG_ARMORER (not used) | 4096 | GOSSIP_OPTION_UNLEARNTALENTS | 16 | UNIT_NPC_FLAG_TRAINER (bonus option for GOSSIP_OPTION_TRAINER) | 16 | GOSSIP_OPTION_UNLEARNPETTALENTS | 17 | UNIT_NPC_FLAG_TRAINER (bonus option for GOSSIP_OPTION_TRAINER) | 16 | GOSSIP_OPTION_LEARNDUALSPEC | 18 | UNIT_NPC_FLAG_TRAINER (bonus option for GOSSIP_OPTION_TRAINER) | 16 | GOSSIP_OPTION_OUTDOORPVP | 19 | Added by code (option for outdoor PvP creatures) | | GOSSIP_OPTION_MAX | | | |
|
This is the npcflag (Creature_template.npcflag ) that the NPC must have to have this option display. See comments (after //) in previous table)
...