For updates, you should follow me on


Countdown timers


To create a countdown timer, add a text source to your scene.

 

 

The command to create the timer is countdown

The parameters are;

The optional delay specifies a time (in milliseconds) to wait before running the command.

The timer is displayed as minutes and seconds - example : 12:04

 

 

The main programmable deck buttons are numbered from 1 to 500 and can be referenced by their number.  You can also reference these additional deck buttons by using their name;

 

 

Example - create a timer and count down from 5 minutes (300 seconds).  Deck button 22 is triggered when the countdown completes.

 

Set up a timer

countdown

source=Timer

val=300

trigger=22

 

 

 

From version 2.1.17 of the Lua script, you can now use relative values to adjust a running countdown...

 

 

Add 5 seconds to timer

countdown

source=Timer

val=(5)

trigger=22

 

 

 

Subtract 5 seconds from timer

countdown

source=Timer

val=(-5)

trigger=22

 



Prev: Counters : updating text sources  
Next: Pause / Resume / Toggle countdown timers



Privacy
© 2024 8up.uk