Thread: [PI] Teleports Help

Results 1 to 4 of 4
  1. #1 [PI] Teleports Help 
    Registered Member
    Join Date
    May 2012
    Posts
    201
    Thanks given
    8
    Thanks received
    0
    Rep Power
    10
    Hey guys I added Nomad, earlier today now I am trying to find a way to make players teleport him but all my teleports like "boss teleports" already have 5 tele's and I dont know how to add an NPC that talks to them before teleporting so please help if you can !

    REP+++++++++
    Reply With Quote  
     

  2. #2  
    Donator


    Join Date
    Sep 2011
    Posts
    2,730
    Thanks given
    1,150
    Thanks received
    907
    Rep Power
    668
    Alright let's say you want to make Sir Tristem the teleporter to Nomad.
    Sir Tristem = 243

    DialogueHandler, under
    Code:
    switch(dialogue) {
    Add something like
    Code:
    case 600:
    sendNpcChat4("Hello, adventurer", "I can teleport you to the dangerous Nomad.", "He drops very valuable items.", 
    			"Would you like to be teleported to him?", c.talkingNpc, "Sir Tristem");
    			c.nextChat = 601;
    break;
    
    case 601:
    			sendOption2("Yes, I want to be teleported to Nomad.", "No, I would like to stay here.");
    			c.dialogueAction = 601;
    		break;
    Head over to ClickingButtons and under
    Code:
    case 9157:
    Add
    Code:
    if (c.dialogueAction == 601) {
    					c.getPA().movePlayer(xxxx, yyyy, 0); //Replace xxxx and yyyy with coordinates!
    					c.sendMessage("Good luck fighting Nomad!";
    }
    Time for ActionHandler
    Find
    Code:
    public void firstClickNpc(int npcType) {
    And under
    Code:
    switch(npcType) {
    Add
    Code:
    case 243:
         c.getDH().sendDialogue(600, 243);
         break;

    I think that's it. Just reply to this if you need more help with this.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jun 2012
    Posts
    159
    Thanks given
    11
    Thanks received
    3
    Rep Power
    11
    Lyst alreadu told him, lyst can u add my skype x25xquinton, i need help with something like this and ill pay
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    May 2012
    Posts
    201
    Thanks given
    8
    Thanks received
    0
    Rep Power
    10
    Quote Originally Posted by Lystuya View Post
    Alright let's say you want to make Sir Tristem the teleporter to Nomad.
    Sir Tristem = 243

    DialogueHandler, under
    Code:
    switch(dialogue) {
    Add something like
    Code:
    case 600:
    sendNpcChat4("Hello, adventurer", "I can teleport you to the dangerous Nomad.", "He drops very valuable items.", 
    			"Would you like to be teleported to him?", c.talkingNpc, "Sir Tristem");
    			c.nextChat = 601;
    break;
    
    case 601:
    			sendOption2("Yes, I want to be teleported to Nomad.", "No, I would like to stay here.");
    			c.dialogueAction = 601;
    		break;
    Head over to ClickingButtons and under
    Code:
    case 9157:
    Add
    Code:
    if (c.dialogueAction == 601) {
    					c.getPA().movePlayer(xxxx, yyyy, 0); //Replace xxxx and yyyy with coordinates!
    					c.sendMessage("Good luck fighting Nomad!";
    }
    Time for ActionHandler
    Find
    Code:
    public void firstClickNpc(int npcType) {
    And under
    Code:
    switch(npcType) {
    Add
    Code:
    case 243:
         c.getDH().sendDialogue(600, 243);
         break;

    I think that's it. Just reply to this if you need more help with this.
    thanks homie repped++++!
    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. teleports
    By joshii in forum Help
    Replies: 2
    Last Post: 06-01-2012, 05:32 AM
  2. [pi] teleports
    By Monster in forum Help
    Replies: 1
    Last Post: 11-27-2010, 11:41 AM
  3. Teleports?
    By Snow Cat123 in forum RS2 Server
    Replies: 5
    Last Post: 05-30-2010, 09:35 PM
  4. Help with teleports
    By rsps HOLY in forum Help
    Replies: 5
    Last Post: 03-07-2010, 09:40 PM
  5. Teleports
    By infallible in forum Help
    Replies: 2
    Last Post: 03-03-2010, 04:58 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
  •