Thread: Teleport interface help

Results 1 to 6 of 6
  1. #1 Teleport interface help 
    Registered Member
    Join Date
    Jun 2011
    Posts
    263
    Thanks given
    13
    Thanks received
    19
    Rep Power
    37
    Yes, i know i'v made a post about this however i don't think i was at all clear.

    Okay, i'v adding a new teleport interface which i got from: [Only registered and activated users can see links. ]

    I'v added the 'City teleport' (The first one, client and server sided)
    but i was wondering how can i add the minigame one (both server and client sided) because they both look exactly the same.

    Thanks you.

    EDIT:

    How do i do this:

    Or just make it where when they click the teleport button those interface lines turn to something like

    Pest control
    Barrows
    Blah etc..
    and create an int like teleportId = 1;

    and for city teleports teleportId = 0;

    Then in clickingbuttons.java:
    case interfacelineid:
    if (teleportId = 0) {
    teleport to city
    } else if (teleportId = 1) {
    teleport to minigame
    }
    break;

    That way you can use the same interface.
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Mar 2010
    Age
    26
    Posts
    686
    Thanks given
    35
    Thanks received
    92
    Rep Power
    157
    Change the interface Id?
    Reply With Quote  
     

  3. #3  
    RevolutionX PK
    All3n's Avatar
    Join Date
    Jul 2010
    Posts
    1,173
    Thanks given
    1,382
    Thanks received
    526
    Rep Power
    982
    Quote Originally Posted by `Vain View Post
    Change the interface Id?
    Or just make it where when they click the teleport button those interface lines turn to something like

    Pest control
    Barrows
    Blah etc..
    and create an int like teleportId = 1;

    and for city teleports teleportId = 0;

    Then in clickingbuttons.java:
    case interfacelineid:
    if (teleportId = 0) {
    teleport to city
    } else if (teleportId = 1) {
    teleport to minigame
    }
    break;

    That way you can use the same interface.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jun 2011
    Posts
    263
    Thanks given
    13
    Thanks received
    19
    Rep Power
    37
    Generation - that's exactly what i want to do, however i have no idea how. Do you think you could explain how to do that?
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jun 2011
    Posts
    263
    Thanks given
    13
    Thanks received
    19
    Rep Power
    37
    bump
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jun 2011
    Posts
    263
    Thanks given
    13
    Thanks received
    19
    Rep Power
    37
    Bump
    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. Teleport interface
    By Ty13r in forum Help
    Replies: 5
    Last Post: 07-08-2011, 05:46 PM
  2. [PI] Interface teleport
    By Mark in forum Help
    Replies: 13
    Last Post: 05-15-2011, 09:00 PM
  3. Teleport interface
    By buck in forum Help
    Replies: 6
    Last Post: 08-20-2009, 06:57 PM
  4. [Help] Teleport Interface [Help]
    By Wallace in forum Help
    Replies: 9
    Last Post: 02-18-2009, 11:16 PM
  5. teleport interface help
    By Bmxican in forum Help
    Replies: 2
    Last Post: 01-09-2009, 02:03 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
  •