User Tag List

Results 1 to 3 of 3

Thread: Gossip Items Question

  1. #1
    Member
    Join Date
    Jul 2016
    Posts
    33
    XP
    370
    Level
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Gossip Items Question

    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

  2. #2
    Moderator / Eluna Dev <span style='color: #FF0000'><span class='glow_8B0000'>Rochet2</span></span>'s Avatar
    Join Date
    Apr 2013
    Location
    Finland
    Posts
    1,860
    XP
    13,531
    Level
    35
    Thanks
    95
    Thanked 591 Times in 418 Posts
    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).
    Awards:
    Support LOL Scripter Facepalm! Raffle Winner
    rochet2.github.io - Home of great codes

  3. #3
    Original Poster
    Member
    Join Date
    Jul 2016
    Posts
    33
    XP
    370
    Level
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well, I've done this inside "SendDefaultMenu" and it works.

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

    Thanks!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •