georgeb Geschrieben 8. März 2022 Geschrieben 8. März 2022 As a unit leaves a track I wish to set the vehicle speed to 95 How do I do this?
Curt84328 Geschrieben 8. März 2022 Geschrieben 8. März 2022 Just now, georgeb said: As a unit leaves a track I wish to set the vehicle speed to 95 How do I do this? create an event that uses the Vehicle leaves a track event and have it set the speed to 95 This is generic using any vehicle, but a specific track/ It can also be just one vehicle,
Goetz Geschrieben 9. März 2022 Geschrieben 9. März 2022 (bearbeitet) Close, but no cigar, @Curt84328 You cannot assign the vehicle on track 55200 a new speed, when the vehicle has just vacated the track. Instead, use "trigger" and then "vehicle" as the target vehicle and "All" for the track, please Greets Goetz Bearbeitet 9. März 2022 von Goetz Bild hinzugefügt
georgeb Geschrieben 9. März 2022 Autor Geschrieben 9. März 2022 Thank you (and Kurt). I forgot an important element - I need it to only function in one direction. Apologies. George
georgeb Geschrieben 9. März 2022 Autor Geschrieben 9. März 2022 So, as a vehicle leaves a track (last element) in a defined direction, the speed will be set. There is a "heading towards" option but I can not work out what the exact rules are for this event. George
Goetz Geschrieben 9. März 2022 Geschrieben 9. März 2022 Hello George. vor 57 Minuten schrieb georgeb: I need it to only function in one direction. then don't use "leaves track" as the triggering event. Instead, place a contact at the spot where you want to change the speed, disable the contact for one of the two directions and use "leaves contact" as the triggering event. That's why contacts were introduced. Because they are a better means to control such situations. Kind regards Goetz
simonjackson1964 Geschrieben 10. März 2022 Geschrieben 10. März 2022 Track contacts are great! You can use the same event in multiple places, if you use track contacts. Put the same keyword on each contact, and for this event, a number Variable that holds the speed to set to. Then you use the Vehicle leaves a contact with keyword option. In the set Vehicle speed action specify an extended variable as the speed, with the object set to trigger track contact and the variable as the one holding the speed. I'm on my phone right now and can't show examples, but that means you can have fun working it out, right? If you get stuck just ask. Your homework is towork out how to set a different speed for each different loco! ;-D
Empfohlene Beiträge
Erstelle ein Benutzerkonto oder melde dich an, um zu kommentieren
Du musst ein Benutzerkonto besitzen, um einen Kommentar verfassen zu können
Benutzerkonto erstellen
Neues Benutzerkonto für unsere Community erstellen.
Neues Benutzerkonto erstellenAnmelden
Du hast bereits ein Benutzerkonto? Melde dich hier an.
Jetzt anmelden