Page 1 of 1
Need Help Moving Cars with Script
Posted: Sun Jun 17, 2018 1:40 am
by MrWheatley
I need to make two cars a the map move with a button for each and I can only get one of the cars to move. It's using a modified version of the train on TrainYard.
https://pastebin.com/8shnCze1
I tried adding a 1 to everything in the other car but it still doesn't work.
(Again, I have to use pastebin because I get an No route found for "GET /posting.php" (from "
https://www.mythologicinteractiveforums ... =post&f=15") error)
Re: Need Help Moving Cars with Script
Posted: Sun Jun 17, 2018 9:33 am
by Shock
You have to look at this map , no need any scripts , only turrets :
link
If you don't understand - just pm me
there's also a map about movement of the cars by sensors. For 4 players :
link
Re: Need Help Moving Cars with Script
Posted: Sun Jun 17, 2018 6:13 pm
by MrWheatley
Thank you for replying but that's not what I need, I need to be able to make the object car01a to move, the same way the train in TrainYard does.
Re: Need Help Moving Cars with Script
Posted: Mon Jul 02, 2018 1:42 am
by The_JOKER
can you upload some screenshot of the map so people can understand better?
Re: Need Help Moving Cars with Script
Posted: Mon Jul 02, 2018 8:35 pm
by MrWheatley
Re: Need Help Moving Cars with Script
Posted: Tue Jul 03, 2018 7:35 pm
by JakSparro98
Sorry for the time you waited but I'm very very busy these times, I was having a look to your problem last week but I had no time to share the solution.
In
this map example you can find my script modification to work with undefined numbers of moving objects, just make sure to rename the script trigger to "Toggle." then add a custom ID you like after the dot and assign that same id to the Elevator attachment joint you want to move.
Re: Need Help Moving Cars with Script
Posted: Wed Jul 04, 2018 3:34 am
by MrWheatley
Thank you so much, but while I was adding your script to my map, I realized that the elevator attachment joint wasn't attached to the other car and that's why it wasn't working...
But you're method is way better and sorry to waste your time.