Flags
Last updated
Last updated
Flags allow you to make your scripts more reusable and dynamic.
Flags can be used in conditions within scripts, sections or actions. A typical example use cases for flags is to enable/disable sounds for late night running sessions.
You can scope the flags on three different levels: global, script and per vehicle. This gives you are more granulary control, when connected to a vehicle you can for example say this is a freight train and depending on that let the script take a different track by setting a specific turnout.
Important note is that flags stack up over the levels, once a flag is set on a level higher you cannot disable it on a lower level, for example there is no possibility to disable globally enabled flags inside a script.