hb.resing
-
Gesamte Inhalte
4 -
Benutzer seit
-
Letzter Besuch
Beiträge erstellt von hb.resing
-
-
I can change the train destination indicator (online catalog -> Browse-> Infrastructure -> rail traffic ->platforms)
in the events when a trackcontact is triggerd with the next LUA lines:
local t= $("Eindhoven destination indicator")
t.labels["Zuglauf"].text = "geleen"
t.labels["Zielbahnhof"].text = "Sittard"
t.labels["Abfahrtszeit"].text =layout.timeUpdating the scoreboard(modular) in the same map gives an error "attempt to index a nil value (field 'Zuglauf')"
local t4= $("Eindhoven(modular)2") !!
t4.labels["Zuglauf"].text = "geleen"setting the properties for both objects in the layout look so much simular , but in the the eventscreen i cann't access the fields of the scoreboard(modular)
somebody who nows the right syntaxis??
Thanks
Heinrich
-
vor 7 Stunden schrieb Goetz:
Hello Hein,
the new V8 features user definable text on models.
You'll be able to change text like a displayed destination where a model designer adds this feature to his model.
And a number of designers are currently giving a lot of their time and effort to implement this feature.You may want to follow the V8 beta test threads in this forum to find out more about this.
Greets
Goetzhi Goetz,
thanks ,
the train destination indicators have some properties that can be set in the layout , Like "label" text
I was struggeling with the propertys ,objects variables etc in the event screen. I think that it must be possible and not that difficult.
probaly it's a matter of using the right names of the properies ,objects ,variables to set a value
Anyway I will take a look at the V8 beta thread.
-
Is it also possible to update the trains destination indicators when the train leaves the station?
greets,
Hein
Update departure board [scoreboard(modular)] in events V8
in [International] Problems and solutions
Geschrieben
I was just testing . I am absolutly new to Lua and this game . Is it possible to create an array with schedules for all stations?
So , I have a question also for you. I think you are de designer of this nice object. ?! why uses the train destination indicator no numbers in the label , and the scoreboard (modular) numbers in the label ? have a nice day
Indeed , I missed the 03 . My stupid fault. I didn't write the full labelname.
The destination sign, the object with different station names that "moves out"....... can I also change the names ?
Thanks to both .
Greetz ,
Heinrich