The Tournament Director Forums
Main => Help Me => Topic started by: docdawson007 on September 18, 2011, 05:10:31 PM
-
trying to create a New Event from scratch. When the break begins I have a sound file created in New Action. I have completed the Action Settings. I just can't figure out what the Trigger should be nor the formula to use in the Conditions area. Is it something like Trigger= a level ends? Conditions= isBreak1?? Just not a programmer at all :0 dd
ver 2.5.12
-
Trigger: A Level Starts
Conditions: (state = 2) and (not isRound)
From memory, I think is what you are looking for
Regards
Stu
-
yup, works just fine. Thanks. dd
-
trying to create a New Event from scratch. When the break begins I have a sound file created in New Action. I have completed the Action Settings. I just can't figure out what the Trigger should be nor the formula to use in the Conditions area. Is it something like Trigger= a level ends? Conditions= isBreak1?? Just not a programmer at all :0 dd
ver 2.5.12
I'm not a programmer either, and have a similar need for an event formula. We allow addons during the first two breaks, but after (breaks after rounds 3 and 6). I have a sound file that explains the addon process that I want to play after rounds 3 and 6, but after any other rounds. Using the formula shown here, that sound file would play after every break.
Can anyone suggest the formulas to use for different sounds for different breaks? Or even better, is there any sort of list or index of formulas available to us for a variety of events?
Thanks in advance.
-
Trigger: A level ends
Conditions: (state = 2) and ((round = 3) or (round = 6))
The user manual has information on the variables available and on constructing conditions (although the variables are also listed, with tooltips, in the Conditions panel of the Event dialog) . But you'll need some basic algebra to put a conditions formula together. The included sample events are intended as a guide so you can modify them to suit your needs.
-
Trigger: A level ends
Conditions: (state = 2) and ((round = 3) or (round = 6))
The user manual has information on the variables available and on constructing conditions (although the variables are also listed, with tooltips, in the Conditions panel of the Event dialog) . But you'll need some basic algebra to put a conditions formula together. The included sample events are intended as a guide so you can modify them to suit your needs.
Thank you very much Corey. I looked for the variables in the manual but didn't find them. I'll look again.
-
Corey, this still didn't work. I did discover that instead of (round = 3) I had to use (roundNum = 3), but even after making that change the event fires after rounds 3 and 6, but also at the end of break 1 and 2 (beginning of round 4 and 7). Here is the formula for the condition I am using:
Trigger: A level ends
(state = 2) and ((roundNum = 3) or (roundNum = 6))
Using this formula, the event fires at the end of round 3 and 6, but also at the end of break 1 and break 2. I can't figure out how to get that to stop.
-
Whoops, sorry, you are entirely correct. The variable is roundNum and not round. I was working from [a clearly faulty] memory. Try this:
(state = 2) and isRound and ((roundNum = 3) or (roundNum = 6))
-
Whoops, sorry, you are entirely correct. The variable is roundNum and not round. I was working from [a clearly faulty] memory. Try this:
(state = 2) and isRound and ((roundNum = 3) or (roundNum = 6))
That did it Corey. Thanks so much for your help!