START TIME

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 return all instances that have the cor­rect start time condition.

FORMAT: instances WHERE START TIME operator value


DEFINITIONS:

  • Instances: Text specifying "labels" or instances you wish to count
  • Operator: < >= > >= !=
  • Value: the time you wish to test (in seconds)

EXAMPLE 1

$var = count instances where start time <20
show $var

Shows all instances where the start time is less than 20 seconds.

EXAMPLE 2

$var = count "a" or "b" where row = "row1" and start time <=20
show $var

Shows all instances that contain the label "a" or "b" in row "row1" and where the start time is less than or equal to 20 seconds.