The Tournament Director Forums

Main => Help Me => Topic started by: T-Bone on September 05, 2013, 07:44:18 AM

Title: Fire Event at Specific Time
Post by: T-Bone on September 05, 2013, 07:44:18 AM
I saw a post relating to this but cannot for the life of me find it now. I need to fire an event at 9 P.M. reminding the players in the "poker loft" to quiet down so the true tournament director (my wife) can watch TV in the great room below. How do I make this happen?
Title: Re: Fire Event at Specific Time
Post by: Stuart Murray on September 05, 2013, 09:14:17 AM
timeOfDay = 210000

format is hhmmss

Regards
Title: Re: Fire Event at Specific Time
Post by: Corey Cooper on September 05, 2013, 10:39:36 AM
And the trigger is "The clock ticks".
Title: Re: Fire Event at Specific Time
Post by: T-Bone on September 05, 2013, 01:19:34 PM
Clock hits the appointed time and...nothing. I'll fool around with event list position, etc. and see if I can get it to work. Thanks for the help, guys.
Title: Re: Fire Event at Specific Time
Post by: Corey Cooper on September 05, 2013, 05:14:28 PM
Tournament must be running (or in countdown).
Title: Re: Fire Event at Specific Time
Post by: T-Bone on September 06, 2013, 04:58:05 AM
I'm confused (no news flash there). Yes, the tournament is running. I need event to fire at 9 p.m. during the game. I sense from Corey's response this can't be done during an active tournament. Right?
Title: Re: Fire Event at Specific Time
Post by: Corey Cooper on September 06, 2013, 08:21:30 AM
No, I'm saying that an event won't fire when a tournament is NOT running.  If you've got the event configured but you haven't yet started the tournament and 9pm rolls around, nothing will happen.  If the tournament IS running or is in a countdown when 9pm rolls around, the event will fire.
Title: Re: Fire Event at Specific Time
Post by: T-Bone on September 06, 2013, 08:59:29 AM
Well, duh, now I understand your previous post. Tournament was running so I'll tinker some more. Thanks again.
Title: Re: Fire Event at Specific Time
Post by: Stuart Murray on September 09, 2013, 07:32:22 AM
Create a new event

Trigger: The Clock Ticks
Conditions: (state = 2) and (TimeOfDay = 210000)
Actions: Play Sound etc etc

state = 2 (Tournament Running)
TimeOfDay = 210000 (HHMMSS)

I just realised my original reply had timeOfDay, not TimeOfDay (The capitalization is important)

Regards
Stu
Title: Re: Fire Event at Specific Time
Post by: T-Bone on September 09, 2013, 08:06:07 AM
Thanks, Stu, I'll give it a shot.
Title: Re: Fire Event at Specific Time
Post by: Corey Cooper on September 09, 2013, 10:24:08 AM
Sorry to contradict you, Stuart, but capitalization is definitely NOT important.  Formulas and conditions (and layout tokens) are case-INsensitive, so UPPER or lower or MiXeD cases all mean the same thing (internally, the whole thing is converted to lowercase during processing).

Also, your example is correct, but I want to point out that including state = 2 will actually make the event more restrictive.  That might be what you want in the end, but I wanted to make clear that this makes it so the event will fire only during the tournament, not before the tournament or during a countdown or after the tournament is over.  Again, that may be what you want.  It's just that when I'm trying to figure out why an event isn't firing when I think it should, I usually make things less restrictive until I get it to fire, and then start adding the restrictions in until it no longer fires when I think it should, in order to figure out what I've got misconfigured.