Jump to content
View in the app

A better way to browse. Learn more.

3D-Modellbahn Studio

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Hallo,

ich möchte diesen Tread von MarkoP nicht überladen weshalb ich hier die Frage Stelle...

... wenn die Objektvariable "Gleis" von Formsignal vom Typ "Text" ist ließe sich im einfachsten Fall das Problem in lua so lösen (Signal schaltet)
 

local name=layout:getEntitiesByName($("Formsignal 1").variables["Gleis"])
local vehicles = layout:getVehiclesOn(name[1])
for _, vehicle in pairs(vehicles) do
  if vehicle:hasEngine() then
    vehicle.engine.active = true
    vehicle.targetSpeed = 70
  end
end

... nun ist meine Frage: kann man diese Lösung über die grafische EV darstellen?

Gruß
EASY

  • 10 months later...

Hallo EASY,

beim Durchstöbern älterer Beiträge ist mir deine unbeantwortete Frage aufgefallen. Die Antwort lautet Ja:

EV.jpg.ccb50e992ea53fb60cc3baebdb631a34.jpg

Nutze bei der Aktion "Geschwindigkeit setzen" einfach den Typ "Objekt (Name)" für das Gleis. Den Typ des Namens änderst du dann auf eine Variable.

Viele Grüße,

Neo

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.