triggers

sardon

New member
If I place a trigger on my track and click on edit script I get a message box that looks like gobledygook. It makes no sense to me but if that is the way it is supposed to look then I haven't a clue how to edit it. Maybe I just don't understand triggers. I thought I could make entries in that box and make the train do certqin things when it passes over the trigger. I don't know why but I guess I am not allowed to post attachments so I can't show a pic of what I mean.


System-- Gateway desktop FX400 Intel (R) Pentium D CPU 2.80 GHZ 1512 ram
Nvidea 6200 turbo cache 93.71 drivers Windows xp pro media center edition version2002 service pack 2
 
I don't think you can edit the trigger script.. what you can do is name the trigger and then have it trigger the rules to which can control your lights and trains in many way's
 
I think you can do things in script but like you, script is a black art to myself.

If you have TRS2006 (or probably 2004 as well for that matter) there's an easier way of doing it. Place your trigger and give it a meaningful name then go into the Session Rules (where you see the Driver Setup and Startup Options etc)...go to Add and add the Trigger Rule. Then edit it and you can choose which trigger you want to use and which trains you want to activate it. Then you need to add what you want the trigger to do underneath the Trigger Rule, make sure it's underneath Trigger Rule then click the right pointing arrow to indent it (this means that if the Trigger is activated, it will execute all the rules indented beneath it), for example if you want a junction to switch after a train passes the trigger, put a Set Junctions rule underneath it.

Hope this helps. Unfortunately, if you have UTC or the original Trainz, you can only use triggers in script.
 
I have 2006. Thanks for the help. I am going to print it and try it. I will let you know. :)
I still can't do it. Do I have to click on edit script?


I added the rule (no problem) and selected the train that I want to trip it but I can't seem to find a way to put in any more under the rule.

Okay another edit!!! I think I got it. I kept thinking I had to edit the script. Anyway, supposing that what you want the train to do is not in that list, what then?
 
Last edited:
Back
Top