these are layout tokens, that can be added to cells, for example for roundbeforenextbreak use something along these lines:
Next Break : <nextbreak format="HM" showSeconds="false">, End Of Level <roundbeforenextbreak>
Which would look like this on screen
Next Break : 29m, End Of Level 3
There is one problem with this token as it doesn't support not being shown when there is no break left, so I have added a break to the end of the structure.
The real question is what should <roundbeforenextbreak> give when there are no further breaks in your schedule? Right now I believe it gives "-1", which is all kinds of wrong, so I will fix that. But what should it give? If it gives "None", then your screen looks like this:
Next Break : None, End Of Level None
That's not right either. I can think of 2 ways to possibly fix this, but neither are great in my opinion.
(1) Add attributes to the token that tell it what to display when there is another upcoming break, and when there is not. Like this, maybe:
<roundbeforenextbreak default=", End Of Level {1}" none=" (No more breaks)">(2) Add a formula variable that is true (1) if the schedule contains another upcoming break, false (0) otherwise. Call it
upcomingbreak, for example. Then you could set the conditions of a Property Set to display one thing when upcomingbreak is true, and another when upcomingbreak is false.
Any other ideas?
With regards to tdbutton - playsound I don't have the required knowledge to program the buttons, I've tried and failed,so hopefully Corey will chime in with a description of how to use it.
Stu
Set the <tdbutton> "modifier" attribute to the name of the sound. For example:
<tdbutton type="PlaySound" modifier="handTimer" text="Sound: HandTimer">(I've updated the
modifier description to reflect this.)