Y
Y
YukioDer2018-10-10 18:56:51
C++ / C#
YukioDer, 2018-10-10 18:56:51

(Text Quest) How to make an action available (via c#.unity) only if there were 3 specific answers selected before?

Hello, I hope for help, the fact is that I don’t know how to implement such a thing, at first I planned to make an int MC variable that would be responsible for the relationship of the character to the player. Depending on which answer the player chose. MC + 1, or -1, or nothing. Then, when the button (UI) is pressed, there should be a check, that is, a separate method is allocated for it. How can I check a variable? 5bbe20df50fc2284549254.jpeg
3 defined responses - this means that the action is only performed if MC = 3;
This moment is very important for me because a lot of things are tied to this in the game. Please, if I wrote something unclear, write, I will clarify everything ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Kitmanov, 2018-10-11
@k12th

https://www.inklestudios.com/ink/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question