Forever moving cars?

Sooo, I've finally started working on Chapter 2 of my fan made TRoS RPG, I've finally added in the city, but now I need to know...how can I make cars that keep appearing on the road? 
I already have a city street, now I need cars to drive along it continuously, as the streets are supposed to be dangerous to cross. 
I'm no good at scripts or anything, I just need a simple enough way to do this. The car is also supposed to give you a game over if it hits you while crossing the street. 
The city is still a WIP but here's what the streets look like, I'll also need to figure out how to have some cars go into that parking lot and stay there for a while, until they drive off again.
Any help is greatly appreciated! 

city streets.PNG
in most cases, that should use autonomous movement in a cycling sequence (end the move commands in a way that the event is back at the point where it started.


I suggest some tutorials on eventing to learn how to do that (it isn't a single solution, you need to know how to structure your events)


Some of them can be found in my starting point (see my signature), or you can look for a user called GrandMaDeb and use the links in her signature
You need 1 Event that gives the Moveroute to all other Car Events once, thatway they keep driving even if out of the visible Screen.


Cars on Event Touch and as Eventcode: Game over if you Hit them.


That would be one Solution.


Additional you could use Regions in many different ways to also make some kind of car moving AI.


But that is complicated and maybe not needed if the first Solutions works for you.
You need 1 Event that gives the Moveroute to all other Car Events once, thatway they keep driving even if out of the visible Screen.


Cars on Event Touch and as Eventcode: Game over if you Hit them.


That would be one Solution.


Additional you could use Regions in many different ways to also make some kind of car moving AI.


But that is complicated and maybe not needed if the first Solutions works for you.

Aaa, thank you so much! Took a while to figure it out, also ended up making a few common events for the cars, mainly for the ones that turn into the parking lot. 
Parallel process is a lifesaver when it comes to that, now I have a bunch of events running smoothly. 
Parallel process is a lifesaver when it comes to that, now I have a bunch of events running smoothly. 

Not really - parallel processes are the wrong way to go, neither Bex nor I suggested them. Especially when using autonomous movement you don't need one.


And if you do go the way of parallel processes, then everything you do should fit into a single parallel process - never distribute functions like them over several parallels.


You might want to follow the link to the bughunting in my signature to learn what a parallel process really does and why you should keep their number as low as possible
Not really - parallel processes are the wrong way to go, neither Bex nor I suggested them. Especially when using autonomous movement you don't need one.


And if you do go the way of parallel processes, then everything you do should fit into a single parallel process - never distribute functions like them over several parallels.


You might want to follow the link to the bughunting in my signature to learn what a parallel process really does and why you should keep their number as low as possible

I know, but parallel only worked for me because whenever the cars moved, I couldn't move. x.x I couldn't figure out how to fix it, so I messed around with stuff until it worked fine. 
So far I only have 2 or 3 main parallel events. One for all of the cars to move, and the other 2 to make the cars keep repeating from their previous places. 
That's probably because you used an autorun event somewhere initially (that's the only kind of event that stops you from moving) - again an approach that neither of the above posters suggested.
That's probably because you used an autorun event somewhere initially (that's the only kind of event that stops you from moving) - again an approach that neither of the above posters suggested.

Yes, I did have one auto event when you first get teleported into the area, that event gets ended with a self switch. I was able to move after that event was ended with the switch, I test the game often. Once I added in the car events, that's when I was unable to move after the autorun ended, once I set the trigger for the cars to parallel, I was able to move again. 
I used Bex's suggestion on making a single event that has each cars move route inside. However, any trigger I used didn't seem to make it work, while being able to move the character at the same time. I'm also using event touch triggers for a game over screen if a car runs into the playable character. 


I'm not a very smart woman when it comes to using RPG maker, as this is my first game..
And I have looked up many tutorials, however, I have a hard time understanding things. 
How about uploading a sample Project? (Without big audio that is not used and without rtp  🙂 ) We maybe could give you a hand. Maybe its interesting for you, to see different solutions/aproaches.

Original thread: https://forums.rpgmakerweb.com/threads/forever-moving-cars.62854/