Back again with another issue. I finally figured out how to get cars working in my game. They are not drive-able, they just follow the streets in the game and you have to avoid them.
I have all of the cars working, except one, however.... All of the cars go in one direction, but one is supposed to drive around an area and stop in a parking lot for a while. I had it working in an older version of the game, but I can't remember how I did it. x.x
I have the move route set up so that it goes around the parking lot, stops in a parking space for a while, backs out and drives around again. Buuut, when I play the game, it just keeps going right, and stops at the end of the map. I have the car set up like the others, the move route set up in a parallel event with the others, and the cars event itself set up with "event touch" trigger so that when the car touches you, it's game over.
The other cars work exactly the same, same parallel event set up, same game over screen, but this one car that's supposed to go into the parking lot, doesn't work...it's weird. How do I fix this? Any help is greatly appreciated, and I can make a video of the glitched car if needed.
Show me a screenshot of that car event so that I can see what you've done.
OK, well then, that event is not really helpful. Sorry. Show me the move route event please because this page shouldn't be causing the problem.
You know, you don't need to use a parallel event to do this. See that Autonomous Movement section there right beside the graphic? That's where you put a move route that you want an event to repeat continually.
And if you DO use a Set Move Route command and set it to repeat, you don't need it in a parallel process event that repeats. What's probably happening is that because none of your move routes are set to wait for completion, the parallel process event itself is looping, and starting each move route off again. So your parking lot car isn't getting anywhere near the end of its move route before it's being told to start over again.
I'd solve it by putting the move routes into the autonomous movement (custom) of the individual events. That will ensure the whole series of movements is complete before it starts over.
Shaz you stole my answer!!!!, love you 😀
Just tried that, Shaz...it makes the car follow the route, however it goes really slowly instead of fast like in it's setting. It's like the car moves one space, stops, then moves to the next space. 😳
See where it says "speed" and "frequency"?
Merry xmas
Yea, I have it set on the highest speed.
change it to the highest frequency. And you might need to lower the speed.
Changed the frequency and speed, it seems to be working a bit better, but it seems to only work whenever I go to where it shows up in the screen. Like how the map is big, but then the car doesn't move until the player walks to where the screen shows the car. When it goes off-screen again, it stops and the other cars get stuck behind it lol
And it didn't do that previously? The anti-lag feature stops events from updating when they're no longer near the screen or the player. I would expect the way you were doing it before would also cause that.
There might be a way (or a plugin) that lets you ignore antilag for certain events.
I dunno, when it was glitching out and continued going right and stopping at the end of the map, it just kept going. I have the other cars running continuously too, so far it doesn't lag, only a bit once in a while if you hold down shift to run around. I have the other cars like that so it would be a more dangerous area, it's kinda like a highway almost, in a dark city area.
With the Autonomous movement it followed it's route along the street until it reached the parking lot, then went back up the road and kept going, but only when you could see the car on screen, but with the parallel process move route, it just went in a straight line.
A plugin? Is that kinda like a script?
yep. Oops - you're using Ace. I usually assume these days people are using MV.
So there are some antilag scripts out there for Ace (even though it's built in - I suspect they were converted before people realized Ace had antilag by default), and if you can find one that lets you specify events that should ignore the antilag, that ought to get you going.
The other thing you could try is an approach similar to your initial one, but put the parking lot move route into its own parallel process event, and change the move route to 'wait for completion'. That will stop the event looping before it finishes its move route, but it might have the same problem.
no - you are not changing your scripts. You are finding a script that someone has written (check the pinned threads in the RGSS3/VX Ace Script Requests forum for the link to the script master list and search for antilag), and then you are saving that script into a NEW script slot under the Materials section.