[DiscordArchive] Help with Gossip Menu + Options I've got an NP...
[DiscordArchive] Help with Gossip Menu + Options I've got an NP...
Archived author: Needle • Posted: 2025-04-01T01:32:34.266000+00:00
Original source
Archived author: Needle • Posted: 2025-04-01T01:32:35.062000+00:00
Original source
![[Image: image.png?ex=690ca381&is=690b5201&hm=867...ee336c7ee&]](https://cdn.discordapp.com/attachments/1356441076235243611/1356441139762299093/image.png?ex=690ca381&is=690b5201&hm=86733ed63ab7733fe7aa82be7fa717b2637f02c0c9004cf4fa3bdf7ee336c7ee&)
![[Image: image.png?ex=690ca381&is=690b5201&hm=d58...1819a1358&]](https://cdn.discordapp.com/attachments/1356441076235243611/1356441140077006878/image.png?ex=690ca381&is=690b5201&hm=d58859df133614888254325a5752eafcf6b996f50723421b91af83b1819a1358&)
Archived author: Cyclone Jack • Posted: 2025-04-01T01:32:49.308000+00:00
Original source
![[Image: image.png?ex=690ca381&is=690b5201&hm=867...ee336c7ee&]](https://cdn.discordapp.com/attachments/1356441076235243611/1356441139762299093/image.png?ex=690ca381&is=690b5201&hm=86733ed63ab7733fe7aa82be7fa717b2637f02c0c9004cf4fa3bdf7ee336c7ee&)
![[Image: image.png?ex=690ca381&is=690b5201&hm=d58...1819a1358&]](https://cdn.discordapp.com/attachments/1356441076235243611/1356441140077006878/image.png?ex=690ca381&is=690b5201&hm=d58859df133614888254325a5752eafcf6b996f50723421b91af83b1819a1358&)
Archived author: Hawjiki • Posted: 2025-04-01T15:56:19.249000+00:00
Original source
I'm assuming you're trying to make 1000152-1000154 lead to menu that will display text? If so you need to make their gossip_menu entries and add a npc_text ids with the info for each option. <@235212586000318464>
If I may make a suggestion. Instead of having this info displayed on the gossip page, why not use SAI to make the NPC whisper the info to the player when they select the gossip option? Its much more immersive imo.
Add SmartAI to the creature_template's AIName.
Create the text to be whispered in creature_text.(Use type = 12 for whispers)
The create this following entry in smart_scripts
```
INSERT INTO `smart_scripts` VALUES
(NPC_ENTRY_HERE, 0, 1, 0, 62, 0, 100, 0, MENU_ID_HERE, ID_HERE, 0, 0, 0, 1, CREATURE_TEXT_ID, 0, 1, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'NPC_NAME_HERE - Gossip Select - Say TEXT_NAME_HERE');
```
Replace the the text with the correct entries. Then you reload all the tables or just restart. Should then whisper your lines when you select them.
Archived author: Cyclone Jack • Posted: 2025-04-01T16:13:59.557000+00:00
Original source
I've got both the NPC Text and Gossip Menus set up (2nd pic). Everything *looks* like it should work, but the buttons linking to 1000152-1000155 aren't working.
I do like the idea of the whisper, and I may look into that for this example, but I'll still need to get this working for future NPCs. I'm planning on adding Bounty Hunters and Monster Hunters that send you out after special Rare enemies (ideally a new rank of enemy, but we'll cross that bridge later) which will be updated into a scripted encounter, and I want them to give you tips about the encounter.
So, for example, a new NPC in Durotar would have a similar screen as above, but would have an entry for each Rare mob; and its possible that those screens might have additional Gossip Menus.
Archived author: Hawjiki • Posted: 2025-04-01T16:21:20.774000+00:00
Original source
Does 1000151 display your greetings text?
Archived author: Cyclone Jack • Posted: 2025-04-01T16:22:26.148000+00:00
Original source
1000150 is the greeting, which has a Training option, and also points to 1000151, which is the screen with all of the options.
Archived author: Hawjiki • Posted: 2025-04-01T16:23:15.265000+00:00
Original source
Does it display your greetings message?
Archived author: Cyclone Jack • Posted: 2025-04-01T16:24:07.521000+00:00
Original source
Yes. Greeting, Training, and "Tell me about Survivalcraft" (1000151) all work fine.
Archived author: Cyclone Jack • Posted: 2025-04-01T16:24:33.266000+00:00
Original source
1000151 has a "Talk about something else" that successfully returns to 1000150.