I'm working on a game right now and in one of the levels it has cars driving on roads. I have the event set up, but what I want to do is have it loop. So when the cars drive off one end of the map, they reset at the beginning position and start the drive again.
I've tried a few different scripts but they don't seem to work the way I need. Any suggestions or a direction to start? If you need more information to assist please let me know.
You don't need a script for this. Just set event location to the beginning and give the same move route again.
Thank you, I will give it a shot after work today and let you guys know if this resolves the issue. Thanks again.
Autonomous movement is automatically parallel, you don't need to set it to parallel...
Yeah, I forgot that. But whatever, I think the answer I gave is correct.
Thanks, anyway, Andar.
At the end of the move route, still inside the move route, use Script: moveto(x,y) where x and y are the coordinates where you want to start the car off again.
Thank you, that seems to be working. It keeps giving me a syntax error for the x,y if I try multiple cars...but it works if its just 1 car (boring frogger with 1 car though)
to be exact I get "invalid octal digit moveto(008,013) which exists. and it only happens on the 008 plain.
My apologies I didn't see the edit button the first time around. Thank you that fixed it for me.