Jump to content

Empfohlene Beiträge

Geschrieben

Hi folks, I'd appreciate some help on this one, because I'm sure Ive got everything right.

DB practice with the 69 type light signals is that when a distant signal is mounted on a main signal post, when the main signal is red (HP0) the distant signal is dark, to avoid possible confusion if the following main signal (that the distant signal is repeating) is green (HP1).

So, the game designers have thoughtfully provided an animation on the distant signals to darken them

At V6, the following works fine. (It's in my published "Valley Road" layout if you want to see it).

Capture.thumb.JPG.a4d5011237aa06321d7fd3d94974167c.JPG

However with the same event on V7:

Capture.thumb.JPG.1e7b4479da25dd9cf4335f70e546e9dc.JPG

I get this:

Capture.thumb.JPG.a13effa9ed2e435b08a77db15d2b603a.JPG

And the signal obstinately remains lit!

It worked at V6, it doesn't work at V7.

 

Geschrieben

Du musst das Signal und das dazu gehörende Signal direkt ansprechen. Die Objekt-Variable "Name" muss eindeutig sein und darf nicht mehrfach vorkommen.

You must address the signal and the associated signal directly. The object variable "Name" must be unique and must not occur more than once.

Geschrieben (bearbeitet)
vor 32 Minuten schrieb simonjackson1964:

I seem to have found an actual bug!

I fear not, Simon.

Here's a working example:  Dunkelschaltung.mbp

Unfortunately, your screenshots don't show what's causing the misbehaviour on your layout.
A possible culprit may be a wrong signal stored in your "distant signal" variable

Cheers
Goetz

Bearbeitet von Goetz
Geschrieben
51 minutes ago, Roter Brummer said:

Du musst das Signal und das dazu gehörende Signal direkt ansprechen. Die Objekt-Variable "Name" muss eindeutig sein und darf nicht mehrfach vorkommen.

You must address the signal and the associated signal directly. The object variable "Name" must be unique and must not occur more than once.

I just needed to put the name of the correct extended variable in. If you look closely you'll see that the name of the variable on the signal is the same as the name of the keyword . Which is not what I had set up.

This works:

Capture.thumb.JPG.731e73076aafd70cb70e777916ab80aa.JPG

Previously it was trying to find the animation on a Keyword!

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 erstellen

Anmelden

Du hast bereits ein Benutzerkonto? Melde dich hier an.

Jetzt anmelden
×
×
  • Neu erstellen...