Search found 23379 matches

by Tony Li
Fri Oct 13, 2017 10:25 am
Forum: Dialogue System for Unity
Topic: Using metatables and metamethods on system tables
Replies: 14
Views: 6147

Re: Using metatables and metamethods on system tables

Sounds good. I still plan to publish a patch at the end of this week (Sunday). In the current version, when using NLua the Dialogue System doesn't save SimStatus in a compressed form. The patch adds that. This can reduce saved game sizes by up to 90%.
by Tony Li
Thu Oct 12, 2017 9:28 pm
Forum: Dialogue System for Unity
Topic: Problem with different character assigned as conversant.
Replies: 7
Views: 1375

Re: Problem with different character assigned as conversant.

Hi, It will try to match the actor transform's GameObject name to an actor in the dialogue database. For example, if the character who triggers the conversation is Barry (and if the GameObject is named "Barry"), it will match it to the actor named Barry in the dialogue database. speakerInf...
by Tony Li
Thu Oct 12, 2017 3:06 pm
Forum: Dialogue System for Unity
Topic: How to Send Conversations to Different UI
Replies: 15
Views: 3011

Re: How to Send Conversations to Different UI

Hi,

Please give this a try: SwitchDialogueUI_2017-10-12.unitypackage

It adds a sequencer command "SwitchUI()" used like this:
  • Sequence: SwitchUI(name)
where name is the name of a GameObject in the scene that contains a dialogue UI. The GameObject can be inactive.
by Tony Li
Thu Oct 12, 2017 9:41 am
Forum: Dialogue System for Unity
Topic: Problem with different character assigned as conversant.
Replies: 7
Views: 1375

Re: Problem with different character assigned as conversant.

Hi,

You can check speakerInfo.nameInDatabase to get the name of the speaker as defined in your dialogue database. Does that help?

If you want to get the entire Actor record, you can use this code:

Code: Select all

var actor = DialogueManager.MasterDatabase.GetActor(subtitle.speakerInfo.id);
by Tony Li
Thu Oct 12, 2017 9:34 am
Forum: Dialogue System for Unity
Topic: Bark System On Screen Space UI
Replies: 9
Views: 4847

Re: Bark System On Screen Space UI

Happy to help!
by Tony Li
Wed Oct 11, 2017 6:56 pm
Forum: Dialogue System for Unity
Topic: Bark System On Screen Space UI
Replies: 9
Views: 4847

Re: Bark System On Screen Space UI

Can you send an example scene to tony (at) pixelcrushers.com?

As a test, what happens if you remove your custom bark UI and temporarily add the prefab "Generic Unity UI Bark UI" as a child of KARA?
by Tony Li
Wed Oct 11, 2017 6:53 pm
Forum: Dialogue System for Unity
Topic: Can I sort the list?
Replies: 9
Views: 3239

Re: Can I sort the list?

Is everything working OK now?
by Tony Li
Wed Oct 11, 2017 1:28 pm
Forum: Dialogue System for Unity
Topic: Bark System On Screen Space UI
Replies: 9
Views: 4847

Re: Bark System On Screen Space UI

Hi,

Move the Unity UI Bark UI component to Bark Bubble Canvas_la. This will ensure that it automatically finds the bark canvas.
by Tony Li
Wed Oct 11, 2017 1:25 pm
Forum: Dialogue System for Unity
Topic: Questions about Simultaneous Conversations
Replies: 5
Views: 1257

Re: Questions about Simultaneous Conversations

Hi, Sorry; that change isn't documented very clearly. I try to minimize API changes, but this was one of the rare times it was necessary to make continue buttons only continue their specific conversation and not continue all conversations. Update your script to call this method instead, which doesn'...
by Tony Li
Tue Oct 10, 2017 7:42 pm
Forum: Dialogue System for Unity
Topic: Bark System On Screen Space UI
Replies: 9
Views: 4847

Re: Bark System On Screen Space UI

Hi, The Unity UI Bark UI component looks for a canvas on itself or a child GameObject. It keeps this canvas inactive except during barks. Can you set up a world space canvas just for barks? If you're also using a world space canvas for interactive conversations, use a different world space canvas. T...