Search found 20754 matches

by Tony Li
Wed May 15, 2024 12:41 pm
Forum: Dialogue System for Unity
Topic: Prevent Usable use through wall?
Replies: 6
Views: 59

Re: Prevent Usable use through wall?

Hi,

I didn't realize you were in 2D. The Debug checkbox works in 3D.

Does your 2D wall have a collider?
by Tony Li
Wed May 15, 2024 8:45 am
Forum: Dialogue System for Unity
Topic: Prevent Usable use through wall?
Replies: 6
Views: 59

Re: Prevent Usable use through wall?

Make sure Raycast All is not turned on, since this will go through GameObjects. Tick your Selector's Debug checkbox. This will show a debugging gizmo. Here's a screenshot of the gizmo where the Selector's raycast is not blocked: unblocked.png You can see that the yellow raycast line ends in a green ...
by Tony Li
Wed May 15, 2024 8:38 am
Forum: Dialogue System for Unity
Topic: UI Bar connected to Variables
Replies: 1
Views: 14

Re: UI Bar connected to Variables

Yes. Please see: Monitor Lua Variable Changes . For example, say you have a variable named Score. You can monitor it like this: public Slider scoreSlider; //<-- Assign in inspector. void Start() { Language.Lua.Assignment.MonitoredVariables.Add("Score"); Language.Lua.Assignment.VariableChan...
by Tony Li
Tue May 14, 2024 9:05 pm
Forum: Dialogue System for Unity
Topic: Prevent Usable use through wall?
Replies: 6
Views: 59

Re: Prevent Usable use through wall?

Hi,

Add walls to your Selector's Layer Mask so it can detect them.
by Tony Li
Tue May 14, 2024 8:16 pm
Forum: Quest Machine
Topic: Importing Quests to QuestMachine from Articy
Replies: 4
Views: 24

Re: Importing Quests to QuestMachine from Articy

It's coming in the next Quest Machine update.
by Tony Li
Tue May 14, 2024 4:11 pm
Forum: Dialogue System for Unity
Topic: Params (variables) not saving
Replies: 1
Views: 25

Re: Params (variables) not saving

Hi, Are you using the "..." dropdowns in the Conditions and Script fields? For example, if you use "..." in the Conditions field then the Conditions should end up looking something like: alreadyMet == false (Note the two equals signs.) This article might be helpful: How To: Run a...
by Tony Li
Tue May 14, 2024 3:39 pm
Forum: Quest Machine
Topic: Importing Quests to QuestMachine from Articy
Replies: 4
Views: 24

Re: Importing Quests to QuestMachine from Articy

Hi, Undo any changes to made to the integration's scripts. The scripts work correctly and do not need to be modified. (Note: The integration is for articy:draft 3.) Or remove the integration and reimport it from "Articy Support.unitypackage". Set up your articy:draft project as described o...
by Tony Li
Tue May 14, 2024 10:27 am
Forum: Dialogue System for Unity
Topic: how can I add an image to the dialog
Replies: 1
Views: 19

Re: how can I add an image to the dialog

Hi,

The easiest way is to set up your dialogue UI with TextMesh Pro, and then use a <sprite> tag in your dialogue text.
by Tony Li
Tue May 14, 2024 9:25 am
Forum: Dialogue System for Unity
Topic: how to make responsible subtitle??
Replies: 3
Views: 41

Re: how to make responsible subtitle??

I understand now. I'll post an example here later today.

Edit: I was delayed. I'll try to post it as soon as I can tomorrow.
by Tony Li
Tue May 14, 2024 8:12 am
Forum: Dialogue System for Unity
Topic: How can i make a dialogue system similar to Genshin Impact
Replies: 1
Views: 23

Re: How can i make a dialogue system similar to Genshin Impact

I'm guessing that Genshin Impact may be using Cinemachine. You can set up a Cinemahcine vcam that frames the characters involved in the conversation. If you want to do it yourself, in an OnConversationStart(Transform) method you could place an empty GameObject between the two participants and move t...