Thread: Making dialogue options clickable

Results 1 to 3 of 3
  1. #1 Making dialogue options clickable 
    Registered Member
    Join Date
    Dec 2017
    Posts
    31
    Thanks given
    8
    Thanks received
    0
    Rep Power
    11
    so i've been trying to add a well of goodwill. I have everything implemented, but i can't seem to make the option choices clickable and send me over to a new dialogue.

    Any ideas on how to do this?

    https://gyazo.com/5b203d56fa815255732c6e7c8a383717

    Basically the four options listed are clickable, but dont do anything. I've been trying to make it open up a new dialogue with an npc.
    Base is elvarg
    Thanks!
    Reply With Quote  
     

  2. #2  
    Extreme Donator


    Join Date
    Aug 2016
    Posts
    597
    Thanks given
    109
    Thanks received
    96
    Rep Power
    254
    So i'm pretty sure that elvarg is similar to ruse so you might have a class called DialogueOptions.java ? Pretty much when the dialogue opens you would set something like player.setDialogueActionId(id) and for the id normally you would use the id of the dialogue that you created. So if your dialogue is number 101 then you would do player.setDialogueActionId(101). Then in DialogueOptions you have stuff like FIRST_OPTION_OF_FIVE, SECOND_OPTION_OF_FIVE etc and in your case you have four options so you would look for FIRST_OPTION_OF_FOUR or something close to that and just input your code there like

    Code:
    case 101:
        code here;
        break;
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member
    Join Date
    Dec 2017
    Posts
    31
    Thanks given
    8
    Thanks received
    0
    Rep Power
    11
    got it now, thank you Goody!
    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. Help With Making "Report Abuse" Clickable.
    By Moronic in forum Requests
    Replies: 7
    Last Post: 07-15-2010, 01:00 AM
  2. Replies: 8
    Last Post: 06-04-2010, 08:34 AM
  3. Make x option on Delta
    By Darna in forum Help
    Replies: 1
    Last Post: 01-06-2010, 09:59 PM
  4. Replies: 22
    Last Post: 12-28-2009, 12:24 AM
  5. Npc dialogue options.
    By SODIO in forum Tutorials
    Replies: 4
    Last Post: 06-22-2008, 12:03 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
  •