Train-Sim.Com
MSTS Sound Design

Diseable a trigger

Notice to all visitors and members of the Train-Sim.Com message forums:
If you plan on using a signature banner in your posts, we would like to remind you that there is a maximum size for banners. That maximum is 450 pixels wide by 120 pixels high, and not to exceed 25k. Your compliance is appreciated. FORUM RULES Problems? There are two common reasons for problems with logging in and posting messages. The first is that you are running a firewall that prevents your messages from being sent to the server. The other is that you have cookies disabled; the DCForum software requires cookies to work properly.

Previous Topic | Next Topic

Printer-friendly copy Email this topic to a friend

Reading Topic #544

Member since Dec-17-03 · 10 posts

Hello,I've got an sms with 2 Variable_Trigger, but i don't want :If the first play, i don't want the second, and inverse.How can y do that ?Thank's
François.

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Member since Apr-5-03 · 230 posts

RE: Diseable a trigger

You description is so simple, no one can help you.But if you don't like one steam, just remove it. Don't forget reduce the number below "steams (". And more important backup before you change.

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Member since Dec-17-03 · 10 posts

RE: Diseable a trigger

hello,yes, excuse me,my explication is too much simple.Well.I've got two variable parameter to play a sound, but if the engine is in the first parameter, i don't want play the second...Ex :First parameter = play sound
Second parameter = play soundI would like to know, if there a possibility to go after the second ?Ex :First parameter = play sound
Goto next stream. ( don't play the second.)I hope my explain is clear.....Best regards,François.

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Member since Apr-5-03 · 230 posts

RE: Diseable a trigger

I think I understand what you mean. But if you include some example, that will be better.May be DisableTrigger can work that way. Although I have not try that method. The question is does you have "another" event to Enable it again? If the answer is yes, I think that's the solution.SMS file is a event trigger script. It's not a program script. It do not have conditional branch, it do not have local variable. In some meaning, DisableTrigger change a variable, and cause conditional branch while that event trigger. But this state change (variable) can not influence any other script execute, so it can not be detected within script and cause conditional branch while script execute. And most important: a trigger can not trigger another trigger (no recursive), the script of disabled trigger will not execute, so state change and conditional branch behavior can not be emulated anyway. One sound event can so several works, but it can not be change while execution, it always do same things. So you can not use it for toggle purpose. There are no way to let SMS script work as a "finite state automaton". Only program script in MSTS I know is signal script: sigscr.dat

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Member since Dec-17-03 · 10 posts

RE: Diseable a trigger

Hello,Thank's for your explain, i go to try it.François.

Alert | IP


[ Home | MSTS Forum | MSTS FAQ | File Library ] Copyright © 2002 by Nels Anderson. All Rights Reserved.

Restored from the Train-Sim.Com archive, captured January 24, 2004. About this archive.