Search found 14 matches

by gwishinofficial
Fri Oct 11, 2024 12:33 pm
Forum: Dialogue System for Unity
Topic: using randomValue
Replies: 12
Views: 218

Re: using randomValue

For anyone as dense as I am, it is THIS highlighted node that needed None() in its Sequence field, the same node that had the script on it. Not the node beneath it as I have it in this screenshot. Thanks again, Tony. :oops:
image.png
image.png (27.36 KiB) Viewed 54 times
by gwishinofficial
Thu Oct 10, 2024 7:22 pm
Forum: Dialogue System for Unity
Topic: using randomValue
Replies: 12
Views: 218

Re: using randomValue

It does not play the audio clip (afaict it stops on the node before it). I emailed you a link to the reproduction project in case you can take a look, thanks Tony!
by gwishinofficial
Thu Oct 10, 2024 4:48 pm
Forum: Dialogue System for Unity
Topic: using randomValue
Replies: 12
Views: 218

Re: using randomValue

ID 45's sequence field has "None()":
ID45_SequenceField.png
ID45_SequenceField.png (125.4 KiB) Viewed 131 times
by gwishinofficial
Thu Oct 10, 2024 12:44 pm
Forum: Dialogue System for Unity
Topic: using randomValue
Replies: 12
Views: 218

Re: using randomValue

Okay, I appreciate you walking me through this. I turned on Debug Level to Info and looked at Console again. Comparing the two (one that works if script is on START and the one that doesn't work if the script is on the node after START), they diverge at Sequencer.Play where the working example says ...
by gwishinofficial
Thu Oct 10, 2024 11:13 am
Forum: Dialogue System for Unity
Topic: using randomValue
Replies: 12
Views: 218

Re: using randomValue

To elaborate slightly, it gets stuck on the first node with the script and just sits there without moving on to the empty node after it. The only console error I get is about event loading which happens normally when I test scenes outside the build of the game and hasn't been a problem otherwise. (I...
by gwishinofficial
Thu Oct 10, 2024 11:07 am
Forum: Dialogue System for Unity
Topic: using randomValue
Replies: 12
Views: 218

Re: using randomValue

Thank you! That's all very helpful. Is there a reason why my lines shouldn't work if either of these scripts started on a later node that was not the START node? randomValue = math.random(4) x = math.random(4) My problem is that when I try setting them up like the flipping coins example in the link ...
by gwishinofficial
Wed Oct 09, 2024 11:36 pm
Forum: Dialogue System for Unity
Topic: using randomValue
Replies: 12
Views: 218

using randomValue

Hi! I can only get randomValue = math.random(4) to work if it's in the script of the Start node (followed by an empty node, then followed by set of barks). Is it possible to add it to a later node in the conversation and if yes, do I need to do something differently in order to make it work? I ask b...
by gwishinofficial
Tue Oct 01, 2024 10:34 pm
Forum: Dialogue System for Unity
Topic: Copy and Paste Nodes
Replies: 6
Views: 112

Re: Copy and Paste Nodes

That's great, thank you, Tony!
by gwishinofficial
Tue Oct 01, 2024 8:44 pm
Forum: Dialogue System for Unity
Topic: Copy and Paste Nodes
Replies: 6
Views: 112

Re: Copy and Paste Nodes

Windows Edition: Windows 11 Home Version: 23H2 Installed on: 3/‎5/‎2023 OS build: 22631.4169 Experience: Windows Feature Experience Pack 1000.22700.1034.0 Unity 2023.2.8f1 (a3bb09f8c8c4) Console Warning (when right-click and copy in context window) NullReferenceException: Object reference not set t...
by gwishinofficial
Tue Oct 01, 2024 6:27 pm
Forum: Dialogue System for Unity
Topic: Copy and Paste Nodes
Replies: 6
Views: 112

Re: Copy and Paste Nodes

Hi Tony, That is definitely what I've been trying and it just doesn't work. I can select a group of nodes. But the moment I right-click (one node or otherwise), they are all unselected. If I do exactly what you said (select group, right-click on top of a node), then the "paste" option is g...