Good evening everyone, let's start by saying that you are magnificent with your help ... I am an Italian boy, my name is Andrea and I am also a D&D player for 28 years as a Dungeon Master ..... now I have decided to export everything our adventure in a game created with rpg maker. And so far no problem, thanks to your help and tutorials.
But now I have a problem concerning an enigma ....... I'll explain it briefly:
I have doors that must be opened with the right combination of 3 levers, up or down.
I created 3 random variables 1 ~ 2 and called them lever1 lever2 lever3 ... then I created a variable that encompasses all 3 called levers code.
At the 3 variables leverage1 ~ leverage3 I set the conditions if leverage = 1 is up if leverage = 2 is down
Then I created 3 other variables with the name choice lever1 choice lever2 choice lever3 .... and one that contains them called variable choice lever.
Here too, I put a common variable called chosen code to the choices that unites them all 3, and I put the conditions if chosen lever = 1 is up, while if chosen lever = 2 it is down.
At the end of everything I put the condition "if chosen code = lever code" the door opens, while if they are different, a battle starts.
Now, either I'm always lucky, or it doesn't work as it should, because the battle never starts.
Tell me if there is a better way to do this, or if there is something wrong with all of this.
Thanks a lot in advance
Greetings Andrea
But now I have a problem concerning an enigma ....... I'll explain it briefly:
I have doors that must be opened with the right combination of 3 levers, up or down.
I created 3 random variables 1 ~ 2 and called them lever1 lever2 lever3 ... then I created a variable that encompasses all 3 called levers code.
At the 3 variables leverage1 ~ leverage3 I set the conditions if leverage = 1 is up if leverage = 2 is down
Then I created 3 other variables with the name choice lever1 choice lever2 choice lever3 .... and one that contains them called variable choice lever.
Here too, I put a common variable called chosen code to the choices that unites them all 3, and I put the conditions if chosen lever = 1 is up, while if chosen lever = 2 it is down.
At the end of everything I put the condition "if chosen code = lever code" the door opens, while if they are different, a battle starts.
Now, either I'm always lucky, or it doesn't work as it should, because the battle never starts.
Tell me if there is a better way to do this, or if there is something wrong with all of this.
Thanks a lot in advance
Greetings Andrea