PUSH BUTTON UP WITH DELAY

This tutorial is specific to our newest product, Hudl Sportscode. If you’re on Sportscode v11, use these resources instead or upgrade today.

This script will push a button up with a delay (in seconds), with or without other conditions.


FORMAT: PUSH BUTTON UP WITH DELAY n


DEFINITIONS:

  • n: Number. This will be the delay in seconds.

EXAMPLE 1:

PUSH BUTTON UP WITH DELAY 3

EXAMPLE 2:

if (button #"A" state = 1, PUSH BUTTON UP WITH DELAY 3)

If button A is pushed down, this script will push the current button (button B) up with a 3 second delay.