Skip to content

Add a command that can check an variable's equation with another constant or variable #17

@fredongit

Description

@fredongit

I want to make an PIS screen that can show the earliest train's predicted arrival time in a station with the help of TrainCarts.
But, when a train triggers the trigger sign, the value of the variable (of the platform of the station) would change to the predicted arrival time of the train, which is the predicted arrival time of the latest train that had triggered the sign.
I don't have any ideas about it.
If there is a command that can check an variable's equation with another constant or variable, then it will be much better, not only the PIS screen, but also something else.
So, in this example, if the variable is equal to 00:00:00, then we can update the variable. Otherwise, we can't update it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions