Thread: [PI] Interface teleport

Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1 [PI] Interface teleport 
    Before "You" I Serve Nothing Mark's Avatar
    Join Date
    Sep 2010
    Posts
    1,018
    Thanks given
    36
    Thanks received
    87
    Rep Power
    21
    I made the interface it now has
    Text
    Text
    Text

    how do i make when i click on the text it teles me somewhere?
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Feb 2010
    Posts
    1,203
    Thanks given
    178
    Thanks received
    173
    Rep Power
    0
    clickingbuttons.java for that
    Reply With Quote  
     

  3. #3  
    Before "You" I Serve Nothing Mark's Avatar
    Join Date
    Sep 2010
    Posts
    1,018
    Thanks given
    36
    Thanks received
    87
    Rep Power
    21
    What code with will i add the teleport coords?
    Reply With Quote  
     

  4. #4  
    q.q


    Join Date
    Dec 2010
    Posts
    6,519
    Thanks given
    1,072
    Thanks received
    3,535
    Rep Power
    4752
    It needs to be "clickabletext", if it is once you click it, assuming your using daytoday PI you'll be told in cmd what button id it has.

    After you find that you can make a case statement with the button id and do whatever you please in it.
    Reply With Quote  
     

  5. #5  
    Before "You" I Serve Nothing Mark's Avatar
    Join Date
    Sep 2010
    Posts
    1,018
    Thanks given
    36
    Thanks received
    87
    Rep Power
    21
    They are 2494, 2495, 2496.
    Reply With Quote  
     

  6. #6  
    q.q


    Join Date
    Dec 2010
    Posts
    6,519
    Thanks given
    1,072
    Thanks received
    3,535
    Rep Power
    4752
    so @clickingbuttons.java

    Code:
    case firstnumberthere:
    teletolocation;
    break;
    etc
    Reply With Quote  
     

  7. #7  
    Before "You" I Serve Nothing Mark's Avatar
    Join Date
    Sep 2010
    Posts
    1,018
    Thanks given
    36
    Thanks received
    87
    Rep Power
    21
    Hmm i added
    case 2494:
    c.getPA().spellTeleport(3053, 9581, 0);
    break;

    case 2495:
    c.getPA().spellTeleport(3317, 2934, 0);
    break;

    case 2496:
    c.getPA().spellTeleport(2714, 9182, 0);
    break;
    but nothing happens
    Reply With Quote  
     

  8. #8  
    q.q


    Join Date
    Dec 2010
    Posts
    6,519
    Thanks given
    1,072
    Thanks received
    3,535
    Rep Power
    4752
    Under the switch statement?
    Reply With Quote  
     

  9. #9  
    Before "You" I Serve Nothing Mark's Avatar
    Join Date
    Sep 2010
    Posts
    1,018
    Thanks given
    36
    Thanks received
    87
    Rep Power
    21
    Quote Originally Posted by Harlan View Post
    Under the switch statement?
    Switch statement of what?
    Reply With Quote  
     

  10. #10  
    q.q


    Join Date
    Dec 2010
    Posts
    6,519
    Thanks given
    1,072
    Thanks received
    3,535
    Rep Power
    4752
    The switch statement in clickingbuttons.java
    Reply With Quote  
     

Page 1 of 2 12 LastLast

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. My Custom Teleport Interface :)
    By Insane in forum Show-off
    Replies: 25
    Last Post: 09-24-2010, 02:11 AM
  2. Teleport interface
    By buck in forum Help
    Replies: 6
    Last Post: 08-20-2009, 06:57 PM
  3. [Delta] [Teleport InterFace] [REP++]
    By Wallace in forum Help
    Replies: 4
    Last Post: 02-19-2009, 01:55 AM
  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
  •