Help - Search - Members - Calendar
Full Version: Need help with autorun
RPG RPG Revolution Forums > Game Engines > RPG Maker VX Discussion
masternest
I feel like such a noob right now.

Ok what I am trying to do is to make a sort of short movie. What I have done is that I have dissected pics from a gif pic and used the event command show picture and used the wait command to control the speed of the pics. I'm ok when it comes to that and it looks ok but the problem is that it keeps repeating.

I've read some stuff on autorun and this is what I did. Tell me if I am doing anything wrong. I've made in the first event page control self switch: a=on. I just left it like that and made a 2nd event page. On the second event page, for the conditions I put self switch a is on and at the bottom of the event list I put control self switch: a=off but it keeps repeating. confused.gif

I hope somebody who is experienced or somebody who has had this before could help me out.
Garlyle
Well of course it's wrong. Think about what's going on.

1st page auto-runs. It turns self switch "A" on. Now, the game will read page 2 since that's the highest-numbered event with the condition met. Up to this point, you've got it right.

But, you have page 2 as an autorun that turns self switch A off.

So now it's not a true condition, and now the highest-numbered page that the conditions are met for is the first - which is an autorun, which sets things up for the second, which is an autorun, which sets things up for the first...

You've set yourself into a loop.

Your second page should NOT undo the conditions, and should NOT be autorunning. Everything that automatically occurs happens in Page 1, before turning Self Switch A on. At the VERY END, it does that, so that the event pays attention only to page 2, which is now a blank, non-autorunning page, and doesn't do anything.



Autorunning events are very simple; you merely have to remember to ensure that in some way you're going to end in some sort of situation without an autorun, which is a mistake even very experienced eventers sometimes forget to do at the end of a long, otherwise flawless event, simply by forgetting to set a switch or something simple like that, so don't feel too bad if you have to ask basic questions like this.
mudducky
Page 1 should end with "Self Switch A" turned on.

Page 2 should have a tick on conditions for self switch A is ON.

The event trigger on page 2 should be "Action Button" and left at that. Nothing else should be entered here if you want the autorun event to end.

Autorun events with a self switch won't play twice, so if you want it to play every time you enter the map you need to add an "Erase Event" on page 1 instead of a self switch and not have a page 2 at all.
Otaku Son
RRR's little gay boy wrote essentially the same thing mudducky did, except the former was more wordy.

I really have to wonder, though, why you wanted to make two separate pages for a cutscene, with the first page triggering the second...
masternest
Thanks guys! smile.gif That was super helpful. I'm gonna go try it out now.


@Otaku Son: I just thought that was the way autorun was suppose to work if you were going to put self switches. Hehe my bad.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.