Search found 111 matches
- Thu Jun 11, 2020 10:58 am
- Forum: Dialogue System for Unity
- Topic: custom ResponseTimeoutAction toward a hidden menu text
- Replies: 15
- Views: 2313
Re: custom ResponseTimeoutAction toward a hidden menu text
Hi Tony, tks for the reply No I never custom write anything directly to the dialogue system scripts. I used to add extended classes based on your scripts, and saved them to my custom script folder. Something like StandardUITimerExt to extend StandardUITimer. The strange thing is that I only have 5 s...
- Thu Jun 11, 2020 5:37 am
- Forum: Dialogue System for Unity
- Topic: custom ResponseTimeoutAction toward a hidden menu text
- Replies: 15
- Views: 2313
Re: custom ResponseTimeoutAction toward a hidden menu text
Hi, not sure if it was my code or the update, but I don't remember that I have edit anything relates to the following issue. I set the dialogue system controller > Input setting > Response timeout to 7 and the response timeout action to "custom". It was working perfectly prior I upgraded t...
- Thu Jun 11, 2020 4:00 am
- Forum: Dialogue System for Unity
- Topic: Call custom script method from specific dialogue entry
- Replies: 8
- Views: 908
Re: Call custom script method from specific dialogue entry
it works, haha, the in scene event rocks!!! tks for the update Tony
- Wed Jun 10, 2020 2:57 pm
- Forum: Dialogue System for Unity
- Topic: Call custom script method from specific dialogue entry
- Replies: 8
- Views: 908
Re: Call custom script method from specific dialogue entry
Hi Tony, not quite sure I fully understand your solution. Do you mean that I should add a game object to the Scene hierarchy, add a custom script to hold some variables? So whenever my prefabs got instantiated, it pass its reference to that game object. Then in the dialogue entry inspector, I add th...
- Wed Jun 10, 2020 12:59 pm
- Forum: Dialogue System for Unity
- Topic: Call custom script method from specific dialogue entry
- Replies: 8
- Views: 908
Re: Call custom script method from specific dialogue entry
Just updated to 2.2.7, right on time, lol If I understand correctly (I see the change in the inspector for Add Scene Events), the OnExecute() becomes more flexible, is this what you have mentioned "Scene Based Unity Event"? At least I'm able to drag the gameobject and call its method with ...
- Wed Jun 10, 2020 7:22 am
- Forum: Dialogue System for Unity
- Topic: Call custom script method from specific dialogue entry
- Replies: 8
- Views: 908
Re: Call custom script method from specific dialogue entry
I'm thinking to use the SendMessage() is the right way, but since the actor has many custom comportment scripts, how do I specific which script's mehtod?
SendMessage(RunAction, goName)
or maybe
SendMessage(CustomScript.RunAction, goName) ?
SendMessage(RunAction, goName)
or maybe
SendMessage(CustomScript.RunAction, goName) ?
- Wed Jun 10, 2020 7:11 am
- Forum: Dialogue System for Unity
- Topic: Call custom script method from specific dialogue entry
- Replies: 8
- Views: 908
Call custom script method from specific dialogue entry
Hi, I have a custom script added to the Actor game object with a public method, something like public void RunAction(GameObject go) {... do something} I need this method to be called whenever some specific dialogue entry is played. I tried to use OnExecute() but that event is very limited. I think I...
- Sun Jun 07, 2020 6:47 am
- Forum: Dialogue System for Unity
- Topic: Access timeout count
- Replies: 3
- Views: 468
Re: Access timeout count
works perfectly, although I have to override the UpdateTimeLeft() method and making sure the if (slider == null) return; is not executed. Thanks Tony
- Tue May 26, 2020 3:11 pm
- Forum: Dialogue System for Unity
- Topic: Access timeout count
- Replies: 3
- Views: 468
Access timeout count
I'm building a custom bubble menu dialogue, and trying to achieve an effect that when it reaches toward the timeout, the bubble will start fading out gradually. In dialogue manager, the custom timeout has been set to a global timeout duration In dialogue editor, sometime a dialog will have a specifi...
- Sat May 23, 2020 2:57 pm
- Forum: Dialogue System for Unity
- Topic: Bubble button arrangement
- Replies: 15
- Views: 2195
Re: Bubble button arrangement
Hi Tony, do you mean responses.formattedText.position in your example? since the responses.position will throw out an error
anyway, it works and thank you
anyway, it works and thank you