Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.
New to the forum? Say hello in this topic! Also make sure to read the rules.
New to the forum? Say hello in this topic! Also make sure to read the rules.
Need Help Moving Cars with Script
Forum rules
By using the forum you agree to the following rules.
By using the forum you agree to the following rules.
-
- Fighter
- Posts: 13
- Joined: Wed Jun 06, 2018 7:36 am
Need Help Moving Cars with Script
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)
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)
0 x
-
- Fighter
- Posts: 13
- Joined: Wed Jun 06, 2018 7:36 am
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.
0 x
-
- Fighter
- Posts: 13
- Joined: Wed Jun 06, 2018 7:36 am
- JakSparro98
- Superfighter
- Posts: 530
- Joined: Fri Jul 15, 2016 7:56 pm
- Started SFD: PreAlpha 1.0.5
- Location: Rome, Italy
- Gender:
- Age: 25
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.
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.
1 x
-
- Fighter
- Posts: 13
- Joined: Wed Jun 06, 2018 7:36 am
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.
But you're method is way better and sorry to waste your time.
0 x