Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Wisearn · Feb 07, 2015 at 04:25 PM · assetwaitthird-party

"Dialoguer" Wait (continue) node

Hello community!

I'm hoping to find someone who is using the Dialoguer asset from the asset store.

I know this is probably not the most appropriate place to ask but I'm desperate for some help!

I've been using this addon for a few days now, and it works completely fine except for it's Wait (continue) node that stops my dialogue from advancing regardless of how many attempts to continue the dialogue.

The Author posted a hack on the forum for adding Dialoguer.ContinueDialogue() to the onWaitEnd delegate but this makes unity crash in an infinite loop of continuedialogue doing nothing but triggering onWaitEnd over and over.

Any help would be greatly appreciated!

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Lars-Kristian · Feb 07, 2015 at 05:53 PM 0
Share

I have also used this asset and I believe adding a Dialoguer.ContinueDialogue() to the onWaitEnd delegate is the correct thing to do. Do the dialog end after the wait node? If so, do you have an exit node? If you post a screenshot of your node tree and some code maybe we can find a solution. If you believe there is a bug in the asset, you should contact the developer. :)

avatar image Wisearn · Feb 07, 2015 at 06:52 PM 0
Share

Currently I have dialoguetext -> $$anonymous$$essage -> Wait -> $$anonymous$$essage -> dialoguetext and this doesnt work for me, it all ends in an End node or very irratonal/crashing effects if I add continue at the onWaitEnd.

$$anonymous$$y current working solution is to have an empty text and a isemptyornull string check on the rawtext from the textdata object.

I know it's a bug because it should work but it doesnt, contacting the developer I've already done but possibly there can be years before an answer and I believe a lot of people in the community use this extension.

But yes, I'm sorry, if I could I would've downvoted my own question :)

avatar image Lars-Kristian · Feb 07, 2015 at 07:27 PM 0
Share

I made a test and it all worked like it should. $$anonymous$$ake sure the examples provided in the asset works for you. $$anonymous$$aybe you are doing some fancy animations with coroutines. They have made problems for me before.

This is my test: Remember to hook up a Button and Text component in the inspector.

 using UnityEngine;
 using UnityEngine.UI;
 using System.Collections;
 
 public class TestScript : $$anonymous$$onoBehaviour {
 
 
     public Button btn;
     public Text txt;
     
     private bool running = false;
 
     // Use this for initialization
     void Awake() {
         Dialoguer.Initialize();
         
         Dialoguer.events.onTextPhase += OnDialogueTextPhaseHandler;
         
         Dialoguer.events.onEnded += HandleonEnded;
         
         btn.onClick.AddListener(() => {StartOrContinue();});
     }
     
     void StartOrContinue()
     {
         if(running == false)
         {
             running = true;
             Dialoguer.StartDialogue(0);
         }
         else
         {
             Dialoguer.ContinueDialogue();
         }
     }
     
     void HandleonEnded ()
     {
         txt.text = "";
         running = false;
     }
     
     void OnDialogueTextPhaseHandler(DialoguerTextData data)
     {
         txt.text = data.text;
     }
 }
avatar image Wisearn · Feb 07, 2015 at 09:44 PM 0
Share

I don't see any onWaitEnd delegate at all, so you're saying the wait node works for you without it?

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

20 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Where can I find music or sound effects for my games? 57 Answers

Game Asset Website List (Free and Paid) (Textures, Models, Packs, etc) 36 Answers

Good site for gui stuff 4 Answers

Where can I find art/models/assets for my games? 17 Answers

How to correctly use third party DLLs 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges