PDA

View Full Version : [SOLVED] Gossip Items Question



zhier
07-31-2016, 05:24 PM
Hello

I'm making an npc Gossip with options (obviously) and I have an option to create another menu clearing the current menu.

So, when I make the new menu, I wanna add a gossip item to return to the main menu.

How can I do it?

Thanks

Rochet2
07-31-2016, 07:23 PM
You have to code it so that the ongossipselect for the "main menu" button will create and send the main menu.
Often this is done by calling OnGossipHello(player,creature).

zhier
07-31-2016, 08:52 PM
Well, I've done this inside "SendDefaultMenu" and it works.

Then the actions for "SendDefaultMenu" inside "OnGossipSelect".

Thanks!