laurellrose

Warper
Member
Joined
Nov 21, 2020
Messages
2
Reaction score
0
First Language
English
Primarily Uses
RMXP
Hi, so I creating a simple room escape game, and I'm a bit stuck. I basically want the player to perform actions in a certain order, and if they don't it won't trigger the next part of the event. On my event pages I want to perform "turn hot tap" and then "turn cold tap," but not the other way round. I feel like there must be a simple way of doing it that I'm just missing (fairly new to the program.) I hope this makes some sense, if not I'll try and clarify what I mean more.

Thanks :)
 

Attachments

  • help1.png
    help1.png
    26.3 KB · Views: 5
  • help2.png
    help2.png
    24 KB · Views: 5

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
34,291
Reaction score
8,743
First Language
German
Primarily Uses
RMMV
variables counting up

you assign each step to a number (and there can be much more than two steps as long as each step has a different number).
on each action, you check the current number. if the number means that the current action is the correct one in the sequence, you count the variable up. if there is a different number, you set the variable to zero.

turn hot tap counts up if the number is zero
turn cold tap counts up if the number is one
...
step 37 counts up if the number is 36
 

laurellrose

Warper
Member
Joined
Nov 21, 2020
Messages
2
Reaction score
0
First Language
English
Primarily Uses
RMXP
variables counting up

you assign each step to a number (and there can be much more than two steps as long as each step has a different number).
on each action, you check the current number. if the number means that the current action is the correct one in the sequence, you count the variable up. if there is a different number, you set the variable to zero.

turn hot tap counts up if the number is zero
turn cold tap counts up if the number is one
...
step 37 counts up if the number is 36

Got it working, thank you!
 

Latest Threads

Latest Posts

Latest Profile Posts

Got sick and had to take a few days off work in order to get tested and make sure it wasn't the big one. Felt a lot better today and thought to myself, "Hey now, I can't get tested until tomorrow anyway, I can get so much character art done today!"
....I watched Youtube and browsed this site for hours instead.
>.>
But at least I'm doing the art now! Yaaaaay.......
1638314262144.png
Didn't wanna spam the feed by posting Denzel's spritelayer separae, but I'm real happy with how this concept is coming along so wanted to share it, innit :D
EVXA wrote on Avery's profile.
Not sure how often you take time to play the games sent to you, but if you could give my game a shout & review on steam maybe that would be amazing, only if you like the game of course, I'd love to know which games have been your favorites over the years too.
I'm seeing my god daughter's school play next week. Being the mild agoraphobe I am this makes me nervous. Thus I had a dream that it was actually a plot by my best friend to take me clubbing at an establishment where it is customary to throw a harpoon at staff members to reward good service.
Praise be to the game make!

Forum statistics

Threads
117,090
Messages
1,104,485
Members
153,087
Latest member
Luphelia
Top