Search found 21033 matches

by Tony Li
Tue Mar 03, 2015 11:03 am
Forum: Dialogue System for Unity
Topic: Clicking on an object to alter a quest state
Replies: 3
Views: 1001

Clicking on an object to alter a quest state

Hi,



You can use the QuestLog class:

using PixelCrushers.DialogueSystem;



QuestLog.SetQuestState("My Quest", QuestState.Success);
by Tony Li
Thu Feb 26, 2015 6:12 pm
Forum: Dialogue System for Unity
Topic: Portrait Image Moving after first line of text.
Replies: 11
Views: 2615

Portrait Image Moving after first line of text.

This was a bug that affects versions up to 1.4.6.1. The fix is in the upcoming version 1.4.7.
by Tony Li
Wed Feb 25, 2015 4:39 pm
Forum: Dialogue System for Unity
Topic: Portrait Image Moving after first line of text.
Replies: 11
Views: 2615

Portrait Image Moving after first line of text.

I don't want to leave you waiting too long. The short answer is that the issue is with the Clip Children checkbox. Clip Children is a wrapper for GUI.BeginGroup() ... GUI.EndGroup(), which sets up clipping and temporarily adjusts the GUI coordinate system to the parent's rect bounds. When Clip Child...
by Tony Li
Wed Feb 25, 2015 8:48 am
Forum: Dialogue System for Unity
Topic: How to use a field from a Localized Text as a Dialogue Entry dialogue text ?
Replies: 1
Views: 532

How to use a field from a Localized Text as a Dialogue Entry dialogue text ?

Hi, The localization in dialogue databases (i.e., dialogue text) is separate from localized text tables. They're different things. Localized text tables are for non-dialogue purposes, such as localizing menu text. Dialogue text should be localized in the Dialogue Editor (directly in a dialogue entry...
by Tony Li
Wed Feb 25, 2015 8:02 am
Forum: Dialogue System for Unity
Topic: Portrait Image Moving after first line of text.
Replies: 11
Views: 2615

Portrait Image Moving after first line of text.

I got the link. I'll download it and let you know what I find.
by Tony Li
Wed Feb 25, 2015 5:40 am
Forum: Dialogue System for Unity
Topic: Portrait Image Moving after first line of text.
Replies: 11
Views: 2615

Portrait Image Moving after first line of text.

Please export it as a unitypackage. This will keep all the references intact. In the Project view, right-click on the scene and select Export package.... By default, it will pick up all of the dependencies. To make the package smaller, you can deselect the Dialogue System. I'm sure I have a copy of ...
by Tony Li
Wed Feb 25, 2015 4:52 am
Forum: Dialogue System for Unity
Topic: Portrait Image Moving after first line of text.
Replies: 11
Views: 2615

Portrait Image Moving after first line of text.

That's kind of an unusual scaled rect. If I read it correctly: The bottom left of the scaled rect is aligned to the bottom left of the screen. It's offset to the left by 0.7 of the screen width, and down by 0.07 of the screen height. So if the screen is 100x100, the rect is offset (-70,+7). The size...
by Tony Li
Wed Feb 25, 2015 4:13 am
Forum: Dialogue System for Unity
Topic: Portrait Image Moving after first line of text.
Replies: 11
Views: 2615

Portrait Image Moving after first line of text.

I'm not sure what's going on. Everything in the screenshot looks like it's set up perfectly. The UI scripts don't do any kind of dynamic readjustment on their own. Is another script perhaps changing the image's scaled rect? Would you please post the inspector view of the portrait image, with the sca...
by Tony Li
Wed Feb 25, 2015 3:27 am
Forum: Dialogue System for Unity
Topic: Portrait Image Moving after first line of text.
Replies: 11
Views: 2615

Portrait Image Moving after first line of text.

Hi Daniel, Is it the same portrait image GameObject? Could it be that the bottom image is the NPC Portrait Image and the top image is the PC Portrait Image? Can you post a screenshot of your dialogue UI GameObject hierarchy and the inspector view of the dialogue UI component? Please also feel free t...
by Tony Li
Mon Feb 23, 2015 3:58 am
Forum: Dialogue System for Unity
Topic: Event when responses are shown
Replies: 1
Views: 605

Event when responses are shown

Hi, No message like OnConversationLine is sent when the responses are shown. Here are two ways to detect when responses are shown: 1. When the dialogue UI shows responses, it activates the Response Panel GameObject. You can add a script that implements OnEnable: void OnEnable() { if (PixelCrushers.D...