I want to have my player play a piano in a certain tune C,C,E,A, I have alreadly inserted the sounds but I have a hard time doing the choices since it all stacks up and gets confusing.
Multiple Choices within choices.
RPG Maker MV SupportSo what are all your choices? Do you have any screenshots or more examples to provide? I'm having a hard time understanding what you want.
What I think you want is the player to make the correct choices CCEA in a number of choices and if player does it correctly then event end or something.
I would attempt this with variables and branches. I'll provide an example below
C is first choice
B is second choihce
E is third choice
set a branch under the first choice C" IF variable correctune is chosen and set it to 1. and then put the next choices under it
So let's say the first C was chosen and all the other choices lead to incorrect end. After "C" is chosen here is the second set of choices
G is first choice
A is second choihce
C is third choice
set a branch up IF variable correctune is chosen and set it to 2. Repeat this for the if the correct choices are chosen until the variable is equal to 4.
I'm just focusing on if the player selects the correct sequence.
So in the end if the variable correctune tune is 4 that is because each choice made checked to see if the correct choice was selected.
So then what happens if C is chosen first but then A in the second choice? Well from there you make more choices and have the end result be incorrect.
Just have a branch where if correctune is not equal to 4 then all other choices are incorrect.
I am sure there is an easier way to explain this but I really tried.
What I think you want is the player to make the correct choices CCEA in a number of choices and if player does it correctly then event end or something.
I would attempt this with variables and branches. I'll provide an example below
C is first choice
B is second choihce
E is third choice
set a branch under the first choice C" IF variable correctune is chosen and set it to 1. and then put the next choices under it
So let's say the first C was chosen and all the other choices lead to incorrect end. After "C" is chosen here is the second set of choices
G is first choice
A is second choihce
C is third choice
set a branch up IF variable correctune is chosen and set it to 2. Repeat this for the if the correct choices are chosen until the variable is equal to 4.
I'm just focusing on if the player selects the correct sequence.
So in the end if the variable correctune tune is 4 that is because each choice made checked to see if the correct choice was selected.
So then what happens if C is chosen first but then A in the second choice? Well from there you make more choices and have the end result be incorrect.
Just have a branch where if correctune is not equal to 4 then all other choices are incorrect.
I am sure there is an easier way to explain this but I really tried.
You can do a "magic" trick:
1.Make those choices.
2.After a choice is made an event switch is made that will make appearance later.
3.Ensure, that any other switch responsible for displaying a sound effect in selected moment is turned off when making selected choice to avoid bugs. Make any other switches for selected point be turned off at same time.
4.Don't do more choices under certain choices after making a choice. Regardless of made choice another choices displayed should be always the same as usual.
Optional:
Make conditional branches each holding single choice, that will only display a choice if selected amount of how long composition has to be will be triggered earlier.
If composition length is set to 6 and 7th choice is close by:
Conditional branch [Composition length is 7 or above]
Show choices
Don't forget to do the same thing with sound effect check, if length is set to shorter than checked sound effect, than everything related to it is skipped.
1.Make those choices.
2.After a choice is made an event switch is made that will make appearance later.
3.Ensure, that any other switch responsible for displaying a sound effect in selected moment is turned off when making selected choice to avoid bugs. Make any other switches for selected point be turned off at same time.
4.Don't do more choices under certain choices after making a choice. Regardless of made choice another choices displayed should be always the same as usual.
Optional:
Make conditional branches each holding single choice, that will only display a choice if selected amount of how long composition has to be will be triggered earlier.
If composition length is set to 6 and 7th choice is close by:
Conditional branch [Composition length is 7 or above]
Show choices
Don't forget to do the same thing with sound effect check, if length is set to shorter than checked sound effect, than everything related to it is skipped.
Original thread: https://forums.rpgmakerweb.com/threads/multiple-choices-within-choices.95550/