Thread: [PI InsidiaX] Npc opening dialogue

Results 1 to 9 of 9
  1. #1 [PI InsidiaX] Npc opening dialogue 
    Registered Member
    Join Date
    Mar 2011
    Posts
    126
    Thanks given
    4
    Thanks received
    3
    Rep Power
    4
    Hello.I am asking how can I make an npc open a dialogue on pi?
    Reply With Quote  
     

  2. #2  
    Super Donator

    Sicc's Avatar
    Join Date
    Jun 2008
    Posts
    1,010
    Thanks given
    54
    Thanks received
    105
    Rep Power
    822
    http://www.rune-server.org/runescape...-beginner.html

    Use this, there is a search bar for a reason.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Mar 2011
    Posts
    126
    Thanks given
    4
    Thanks received
    3
    Rep Power
    4
    Thanks for that, but it aint working with my npc.I tryied changing the dialogue to get opened by other npc and it worked.
    SO, I need to ask you something.I am trying to make Nex (custom npc) talk.
    This is my code in entity def
    if(i == 2636){
    entitydef.anIntArray94 = new int[1];
    entitydef.anIntArray94[0] = 62717;
    entitydef.name = "Nex";
    entitydef.aByte68 = 3;
    entitydef.itemActions = new String[5];
    entitydef.itemActions[1] = "Talk-To";
    entitydef.aBoolean87 = true;
    entitydef.combatLevel = 1001;
    entitydef.aBoolean93 = true;
    entitydef.anInt85 = 10;
    entitydef.anInt92 = 50;
    entitydef.anInt75 = 15;
    entitydef.anInt79 = 32;
    entitydef.aBoolean84 = true;
    }
    That npc should open my dialogue, but instead my character attacks it.Can you say me how can I fix that?
    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Jan 2012
    Age
    28
    Posts
    1,217
    Thanks given
    110
    Thanks received
    681
    Rep Power
    0
    case ####:
    c.getDH().sendDialogues(####, npcType);
    break;
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Mar 2011
    Posts
    126
    Thanks given
    4
    Thanks received
    3
    Rep Power
    4
    Bob.It doesnt work with my npc...Im asking how to make it work with NEx.
    Reply With Quote  
     

  6. #6  
    Banned
    Join Date
    Mar 2012
    Posts
    413
    Thanks given
    0
    Thanks received
    135
    Rep Power
    0
    u mean whr the nex talks " umbra dont fail me" "fill my soul will bloood" "let the virus flow etc etc... rite?
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Mar 2011
    Posts
    126
    Thanks given
    4
    Thanks received
    3
    Rep Power
    4
    Nope.I mean to make nex open a dialogue...Not force chat.
    Reply With Quote  
     

  8. #8  
    Banned
    Join Date
    Mar 2012
    Posts
    413
    Thanks given
    0
    Thanks received
    135
    Rep Power
    0
    you want 'Nex' to open dialogue... lol? well you can set up dialogues at dialoguehandler.java
    Reply With Quote  
     

  9. #9  
    Banned
    Join Date
    Feb 2012
    Posts
    341
    Thanks given
    42
    Thanks received
    9
    Rep Power
    0
    create the dialogue in dialoguehandler and then add the npc id and dialogue id into actionhandler under neath 'firstclicknpc'
    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. Need help with a NPC InsidiaX source (PI)
    By shopkeeper in forum Help
    Replies: 7
    Last Post: 12-17-2011, 08:25 AM
  2. Replies: 5
    Last Post: 09-13-2010, 06:14 PM
  3. [FIX] NPC Dialogue/Shop - Not Opening [FIX]
    By LunarKnight in forum Tutorials
    Replies: 3
    Last Post: 08-22-2009, 11:36 AM
  4. Npc Anims & Npc Dialogue.
    By mmaKush in forum Help
    Replies: 6
    Last Post: 03-05-2009, 01:59 AM
  5. Replies: 1
    Last Post: 03-05-2008, 12:47 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
  •