Thread: How do you make a NPC talk (about head) in a 614?

Results 1 to 5 of 5
  1. #1 How do you make a NPC talk (about head) in a 614? 
    Registered Member
    Join Date
    Nov 2014
    Posts
    16
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    How do you make a NPC, talk above it's head?

    This is a question I have been trying to find a solution to and had to ask. Hope someone can help!
    Reply With Quote  
     

  2. #2  
    48 0x69

    Pax M's Avatar
    Join Date
    Oct 2013
    Posts
    2,008
    Thanks given
    36
    Thanks received
    488
    Rep Power
    2270
    NPCHandler.java

    Code:
    if (npc.getId() == 1) {
    				npc.setNextForceTalk(new ForceTalk("Hello there."));
    }
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Nov 2014
    Posts
    16
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Pax M View Post
    NPCHandler.java

    Code:
    if (npc.getId() == 1) {
    				npc.setNextForceTalk(new ForceTalk("Hello there."));
    }
    I don't have a NPCHandler.java file. Is their another place it would go?
    Reply With Quote  
     

  4. #4  
    48 0x69

    Pax M's Avatar
    Join Date
    Oct 2013
    Posts
    2,008
    Thanks given
    36
    Thanks received
    488
    Rep Power
    2270
    Quote Originally Posted by NiightmareZ View Post
    I don't have a NPCHandler.java file. Is their another place it would go?
    What rev is this?
    Reply With Quote  
     

  5. #5  
    L O S E Y O U R S E L F
    Format's Avatar
    Join Date
    Aug 2013
    Posts
    2,311
    Thanks given
    1,131
    Thanks received
    1,461
    Rep Power
    5000
    Quote Originally Posted by Pax M View Post
    What rev is this?
    614.


    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. How do you make 1 npc have multiple shops?
    By STUDxK1LLAZx in forum Help
    Replies: 2
    Last Post: 09-01-2014, 06:22 AM
  2. Replies: 3
    Last Post: 08-05-2011, 11:04 PM
  3. Replies: 6
    Last Post: 06-07-2011, 02:10 PM
  4. How do i make an npc talk above its head?
    By Runebay™ in forum Help
    Replies: 0
    Last Post: 10-25-2009, 04:10 AM
  5. how do you make npcs fight back
    By owner josh in forum Help
    Replies: 3
    Last Post: 05-28-2009, 07:53 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
  •