Jump to content

Recommended Posts

So I always wanted to do a event where, if you remain still for a set time, another event is triggered (common for video game easter eggs where you have to stare at something long enough). But, how to do that in RPG Maker?

 

I could just add 1 event with a timer, and add a ring of events around that to cancel the timer if you move but I'm wondering if there's another way?

Share this post


Link to post
Share on other sites

Look up the common event-based day/night systems for a way to make time from a couple of variables.

Tbh the timer is a cleaner way to do it. You'll have to look in the Game_Timer scripts to make the timer invisible though. Also, while the timer does work it works in a way that seems to be counter-intuitive to a lot of people; I'm sure you'll get it if you play around for a bit though.

Share this post


Link to post
Share on other sites

You could try this:

 

Making a variable and setting it to 0 when entering the room.

 

Making a parallel process event, where it will be checking for player's position.

'-> if player is in x/y position => increase the variable by 1

     otherwise, reset it to 0.

 

Then you could make another event or just put a conditional branch to keep it in single event, that would be checking for that variable.

'-> for example if that variable would be 600 (10 seconds) or more, then it would turn auto switch or trigger another parallel process event.

 

 

Hope it helps! x3

Share this post


Link to post
Share on other sites

You could try this:

 

Making a variable and setting it to 0 when entering the room.

 

Making a parallel process event, where it will be checking for player's position.

'-> if player is in x/y position => increase the variable by 1

     otherwise, reset it to 0.

 

Then you could make another event or just put a conditional branch to keep it in single event, that would be checking for that variable.

'-> for example if that variable would be 600 (10 seconds) or more, then it would turn auto switch or trigger another parallel process event.

 

 

Hope it helps! x3

 

 

Sorry for late reply, been busy with writing stuff for my game, as well as one of our dogs being sick...

 

That could be exactly what I was looking, since I recently been messing with X and Y placements that could work, but will take testing to be sure.

Share this post


Link to post
Share on other sites

Okay, don't you worry about that! Take your time. (=

Awww poor doggie. =/

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted