Jump to content

Trying to run the animation to turn off the mounted distant signal


simonjackson1964
 Share

Recommended Posts

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.

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Edited by Goetz
Link to comment
Share on other sites

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!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...