Thread: Teleport error! (RUNE_EVO)

Results 1 to 4 of 4
  1. #1 Teleport error! (RUNE_EVO) 
    Registered Member Beandog's Avatar
    Join Date
    Mar 2013
    Posts
    218
    Thanks given
    22
    Thanks received
    9
    Rep Power
    4
    hey guys, so im making this minigame where the player kills a boss then automaticaly gets teleported to the next room, anyway i already have 1 of my boss npcs telee the player after death (ballak the pummeler) and im gonna make it so more of the npcs do that aswell, my problem is though the code im using to tele player after death wont work for my other npc, it compiles fine, runs fine, but asoon as i attack the npc it teles, i want it so the player needs to kill it first. here my code to make the npc tele (the working one)
    Code:
    if (this.getId() == 10141) {
    			killer.setNextWorldTile(new WorldTile(3139, 3091, 1));}
    this one dosent work (they are right by eachother to)
    Code:
    if (this.getId() == 9949) {
    		    killer.setNextWorldTile(new WorldTile(136, 4242, 0)); 
                }
    Could someone help me out? thanks
    Reply With Quote  
     

  2. #2  
    Set the World on Fire
    Unsafe's Avatar
    Join Date
    Jan 2009
    Posts
    608
    Thanks given
    59
    Thanks received
    123
    Rep Power
    8
    Where are you adding this in NPC?


    Stand up for what you believe in, Even if it means Standing Alone


    Reply With Quote  
     

  3. #3  
    Registered Member Beandog's Avatar
    Join Date
    Mar 2013
    Posts
    218
    Thanks given
    22
    Thanks received
    9
    Rep Power
    4
    Quote Originally Posted by Unsafe View Post
    Where are you adding this in NPC?
    yes in npc.java
    Reply With Quote  
     

  4. #4  
    Set the World on Fire
    Unsafe's Avatar
    Join Date
    Jan 2009
    Posts
    608
    Thanks given
    59
    Thanks received
    123
    Rep Power
    8
    Under what method?


    Stand up for what you believe in, Even if it means Standing Alone


    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. Teleporting Error/Bug (Azure)
    By Hidden Gamer in forum Help
    Replies: 4
    Last Post: 01-27-2012, 11:07 AM
  2. [pi] teleport error
    By Monster in forum Help
    Replies: 7
    Last Post: 08-06-2011, 04:54 AM
  3. Client Teleport Error
    By X-zial in forum Help
    Replies: 2
    Last Post: 02-02-2011, 04:42 AM
  4. RS2-Server teleportion error, and more.
    By shaked in forum Help
    Replies: 4
    Last Post: 11-29-2010, 10:06 PM
  5. Teleport Error
    By PrataKosong in forum Help
    Replies: 4
    Last Post: 10-04-2010, 07:33 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
  •