Search found 14 matches

by FlaconiaUnited
Fri Nov 13, 2020 5:49 pm
Forum: Dialogue System for Unity
Topic: Using math.random with another variable instead of a number
Replies: 1
Views: 96

Using math.random with another variable instead of a number

Hey guys. We are trying to make a randomized character creator, but running into some problems. It is set up as follows. We begin with a starting variable: StatBudget, which begins at 30. The aim is to have 3 stats that all together add up to 30. STR is generated using math.random(1,20). StatBudget ...
by FlaconiaUnited
Wed Nov 11, 2020 1:38 pm
Forum: Dialogue System for Unity
Topic: Condition Icon in Response Button
Replies: 6
Views: 288

Re: Condition Icon in Response Button

Tony Li wrote: Sun Nov 08, 2020 8:29 pm Hi,

No, because in that case the disabled script is assigned to the StandardDialogueUI component, so the StandardDialogueUI component will continue to try to use it.

Ah I see, there's some kind of security system for dummies like me :lol:
Useful infos, thanks.
by FlaconiaUnited
Sun Nov 08, 2020 8:00 pm
Forum: Dialogue System for Unity
Topic: Condition Icon in Response Button
Replies: 6
Views: 288

Re: Condition Icon in Response Button

Ooh I see! Well it totally works now!! You're amazing Toni, thanks so much! :lol: I thought about the fact that my subclasses needed to replace the original ones, in fact I made a try by just deactivating the original class' component, but leaving it inside the GameObjects. It didn't produce any dif...
by FlaconiaUnited
Sun Nov 08, 2020 2:17 pm
Forum: Dialogue System for Unity
Topic: Condition Icon in Response Button
Replies: 6
Views: 288

Re: Condition Icon in Response Button

Thanks so much for the help :D It totally makes sense, I did everything you said, no errors or warning from the console, created the icons and gave their dependencies to the new sublasses in the Inspector, everything complies, but the weird result is my subclasses simply don't start. I put a couple ...
by FlaconiaUnited
Sat Nov 07, 2020 9:27 am
Forum: Dialogue System for Unity
Topic: Condition Icon in Response Button
Replies: 6
Views: 288

Condition Icon in Response Button

Hello! The scenarios in my game have multiple choices the player can activate in response to the situation. In some scenarios, the choices' consequences depend on the player's stats (Strength, Wisdom, Charm), and therefore can have different outcomes. I'd like to indicate this by having an image ins...
by FlaconiaUnited
Mon Oct 12, 2020 9:38 am
Forum: Dialogue System for Unity
Topic: AnimatorPlayWait() not waiting for state to end
Replies: 17
Views: 648

Re: AnimatorPlayWait() not waiting for state to end

I'm sorry, I just realized that the previous conversation where I create the character stats, was pointing to a precise state of the introduction conversation, skipping the first state and therefore not executing its command! That's because I created the first state now on the previously existing co...
by FlaconiaUnited
Mon Oct 12, 2020 8:20 am
Forum: Dialogue System for Unity
Topic: AnimatorPlayWait() not waiting for state to end
Replies: 17
Views: 648

Re: AnimatorPlayWait() not waiting for state to end

Hello Toni!! As a side note: You can completely bypass the StandardDialogueUI system if you want. Maybe it has too many options that are getting in the way of what you want to do. If you prefer, you can write your own dialogue UI script that implements the IDialogueUI interface. This interface has j...
by FlaconiaUnited
Sat Oct 10, 2020 2:42 pm
Forum: Dialogue System for Unity
Topic: AnimatorPlayWait() not waiting for state to end
Replies: 17
Views: 648

Re: AnimatorPlayWait() not waiting for state to end

You may need to set the PC node's Sequence to make it do something. If it's blank, it may skip immediately to the next node. Not sure if I understand this, I'm passing through that PROGRESS CHECK state in the conversation, where I have 2 sequence commands like I showed you before: AnimatorPlayWait(...
by FlaconiaUnited
Wed Oct 07, 2020 6:46 pm
Forum: Dialogue System for Unity
Topic: AnimatorPlayWait() not waiting for state to end
Replies: 17
Views: 648

Re: AnimatorPlayWait() not waiting for state to end

Hello Toni! I tried putting those 2 sequence commands to the PROGRESS CHECK state (a state that stays always between scenarios) but no changes; I also tried to create a dedicated animator for the PS Subtitle Panel, with same states and triggers of the Dialogue Panel, but different clips that do noth...
by FlaconiaUnited
Mon Oct 05, 2020 1:39 pm
Forum: Dialogue System for Unity
Topic: AnimatorPlayWait() not waiting for state to end
Replies: 17
Views: 648

Re: AnimatorPlayWait() not waiting for state to end

Sorry for the late reply, in the meantime we updated Unity... No, I tried by ticking that option, but it doesn't make any difference. This is the hierarchy of the dialogue prefab: - mountain dialogue UI prefab.png - - The option you told me to activate is in the PC Subtitle Panel object, while I'm a...