Thread: [PI] Teleports

Results 1 to 2 of 2
  1. #1 [PI] Teleports 
    Registered Member RuneCity's Avatar
    Join Date
    Nov 2010
    Posts
    35
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    How do I change teleports?

    My source's teleports don't have options, they're one click for one tele. I want to add more options to each teleport (PK areas, Monster Teles, etc.)

    I get the relationship between ClickingButtons and DialogueHandler, but I don't see how I can get a teleport to open up an option menu.

    The only teleport that has multiple options looks like this in DialogueHandler:

    case 19:
    sendOption5("Dagganoths", "Multipking", "Pest Control", "", "Previous");
    c.dialogueAction = 12;
    c.dialogueId = 19;
    c.teleAction = -1;
    break;
    How would I make clicking a teleport button open up the menu instead of having it teleport?

    Edit:

    I think just explaining how case #s work for DialogueHandler would help.
    Reply With Quote  
     

  2. #2  
    Registered Member RuneCity's Avatar
    Join Date
    Nov 2010
    Posts
    35
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    I think I got it. It's something like this right?

    c.getDH().sendDialogues(11.......
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. [pi] teleports
    By Monster in forum Help
    Replies: 1
    Last Post: 11-27-2010, 11:41 AM
  2. [PI] Teleports
    By Guy Sully in forum Help
    Replies: 3
    Last Post: 11-16-2010, 06:57 PM
  3. Teleports
    By owndscape in forum Help
    Replies: 3
    Last Post: 10-06-2009, 11:13 PM
  4. Teleports
    By Vintage in forum Show-off
    Replies: 16
    Last Post: 09-29-2009, 09:05 PM
  5. Teleports!
    By Thyee in forum Help
    Replies: 3
    Last Post: 09-29-2009, 06:53 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •