Notify command ???

jswager111

New member
Hey all, is there a good way to send a message to the message window stating when a train has completed a particular task, such as "coal unloaded at xxxx..."
The notify command just says something like "driver xxx all tasks completed." that doesnt do any good if the driver has multiple destinations. I would like it to be more specific. Thanks in advance.
 
I got excited. I thought you had an answer to this as well!

This must be some kind of script-level thing that someone would need to write. Perhaps it could be tied into an HTML message of some kind.

I'm not a script writer or programmer so I have no clue how to go about this.

John
 
Jswager111

Download route DBtogerher TS12 v1 and session DBtogerher TS12 v1 Cars and you can see two options for messages.
 
These commands might do what you want:

PostMessage, <kuid:131986:210002>

WaitForMessageAndClear,<kuid2:131986:1028:3>
 
I have not used it myself but I have seen it in some sessions I downloaded from the dls including one by celje I believe.

Looking at the asset using edit in explorer it shows two .gs files, one contains a list of drivers so I imagine that could be edited, on a clone of course in case things go wrong.
 
These are older driver commands used to communicate between drivers. A newer version CommWithTTable <kuid2:131986:210055:1> is available which has all the commands built into one and uses the WorkTable <kuid2:131986:210055:1> to store messages. These will not put up a message box on the screen they are only for communication between drivers.
 
Back
Top