Jump to content

georgeb

Mitglieder
  • Gesamte Inhalte

    56
  • Benutzer seit

  • Letzter Besuch

Beiträge erstellt von georgeb

  1. I may have solved it by accident:-

     

      layout:enumVehicles(function (vehicle)
          if vehicle:hasEngine() then
               if vehicle.name == $("Events").variables["HeldName"] then
            vehicle.targetSpeedAbs = 99
            end
          end
        end
      )

    ** Where HeldName = the Name of the vehicle I wish to speed up.

  2. Two interesting discussions here.  1) Real life and 2) some code to make it happen.

    A train approach a yellow (in the UK) indicated a red is next.  When the section ahead (beyond the red) is clear, because of routes, the red can go directly to green because of an advance route ahead being now totally clear.

    ON THE OTHER FROME - I do need help (please)

    Train name held in a module variable  CURRENTTRAIN = London

    I wish to code, on the change of a variable (GONEGREEN) that all trains called LONDON (there is only one) to set a speed of, say, 90.

    How?

     

    George

     

     

     

  3. In the UK, if a driver sees a signal ahead of him change in his favour, then he will speed up to his line speed.  Thanks for all your help and comments.

    I have been  (or still am)  on many forums but none better than this for great accurate support and fast also.  Thank you all.

     

    George

     

×
×
  • Neu erstellen...