User Tag List

Page 2 of 2 FirstFirst 1 2
Results 8 to 8 of 8

Thread: C++ Accept/Decline box

  1. #8
    Moderator / Eluna Dev <span style='color: #FF0000'><span class='glow_8B0000'>Rochet2</span></span>'s Avatar
    Join Date
    Apr 2013
    Thanked 560 Times in 390 Posts
    Note, it wont always go to the first option if there is only one.
    There is a way to stop it.
    When using player gossip, it wont directly open the first, possibly with others.
    Creature gossip also has this option if you add some flags or something to the NPC.
    If I remember correctly, my teleport NPC should have the correct flags or w/e and should be able to show one option.
    There is also a thread about this on TC
    It should be a client feature, not TC. Otherwise you could achieve it with packets while you cant. (likely)

    The thing Jamey suggests is just a normal gossip option.
    You can just use the normal gossip functions and macros to send the option etc.
    This means that the normal OnGossipSelect(Code) functions work.

    Note that they wont obviously work by default for player guid as sender for example.
    The packet handler will receive the packet, but since the guid doesnt belong to a creature, it is rejected. You should code player gossip if you are going to use that.
    Check this out:
    Note that you should check the code for extra security and create more checks if you find need for them.
    Also note that I accidently put the hooks to Player even for the item gossip xD Works anyways, but they should really be in itemscript.
    Read the description! (details on right side before downloading)
    Last edited by Rochet2; 06-09-2013 at 04:34 PM.
    Support LOL Scripter Facepalm! Raffle Winner

  2. The Following User Says Thank You to Rochet2 For This Useful Post:

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