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,357
Reaction score
8,771
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

Just for the record you CAN use the "Exclude unused files" successfully to trim a project down seriously even if you're doing calls to various assets via plugins and such. BUT you need to do a full playtest of pretty much every option to ensure you did get every one of those other assets added in. Then I dumped the assets into a fresh copy of the project and yay it was like 400 Meg......
party time.png
If you've played Knight Shift Chapter 1 this image'll mean something to you. If not, that's also fine!
Here's a medical question for ya: Why do I start lightly coughing after I drink coffee?
Well, someone "reviewed" my game. Didn't credit me anywhere in the video and spent 2 minutes insulting it. Going to ignore that and move on.
To cut down on map lag, I've been researching how to implement a lighting layer as a single map overlay instead of a bunch of individual lights. Hopefully I'll have a screenshot soon!

Forum statistics

Threads
117,266
Messages
1,105,963
Members
153,441
Latest member
19TaTo94
Top