Thread: Object Teleport Req! Help!

Results 1 to 3 of 3
  1. #1 Object Teleport Req! Help! 
    Registered Member
    Join Date
    Jan 2010
    Posts
    8
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    okay soo
    I want to make object 2476
    teleport my player
    into a certain area
    but
    my player needs to have
    90 (dung levelid 24)
    this has to be done in the clickingbutton.java right??
    I have a pi source
    deathlypvpz!

    Thanks!
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jan 2012
    Posts
    269
    Thanks given
    155
    Thanks received
    78
    Rep Power
    50
    Try this:

    Open up Actionhandler.java and find:
    Code:
    firstClickObject(int objectType, int obX, int obY)
    In that void find:
    Code:
    switch (objectType) {
    Under that add:
    Code:
    case 2426:
    if (c.playerLevel[24] < 90) {
    c.sendMessage("You need a Dungeoneering level of 90 or above to enter here.");
    return;
    }
    c.teleportToX = YOUR ABSX;
    c.teleportToY = YOUR ABSY;
    break;
    Reply With Quote  
     

  3. #3  
    Donator
    Darkness's Avatar
    Join Date
    Nov 2012
    Age
    26
    Posts
    876
    Thanks given
    121
    Thanks received
    75
    Rep Power
    47
    I think deathlypvpz does the tele like this ;

    Code:
    			c.getPA().startTeleport(XXXX, YYYY, 0, "modern");
    So you can replace the c.teleportToX & Y by that.
    Well both might work
    Attached image
    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. Object Teleporting (Gates) Help! Please.
    By coder sal in forum Help
    Replies: 0
    Last Post: 01-20-2009, 02:24 AM
  2. [REQ] Help with a Command Prompt...
    By Cky Poons in forum Chat
    Replies: 2
    Last Post: 03-24-2008, 07:08 AM
  3. [REQ HELP] coding [REQ HELP]
    By ramz-scape in forum RS2 Server
    Replies: 0
    Last Post: 03-09-2008, 11:03 PM
  4. [req]!! npc and object dumps [req]!!!
    By Mikey` in forum Tutorials
    Replies: 0
    Last Post: 02-08-2008, 05:05 PM
  5. [req] HELP PLEASE!
    By Reactor in forum Tutorials
    Replies: 3
    Last Post: 02-04-2008, 03:33 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •