START
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 give the earliest start time of the labels or instances in the timeline (in seconds).
FORMAT: START instances
DEFINITIONS:
- Instances: Instances or quoted text specifying the label for which you want to find the earliest start time.
EXAMPLE 1
$var = start instances
show round ($var, 1)
Returns the start time of the first instance in the timeline, rounded to one decimal place.
EXAMPLE 2
$var = start "score"
show $var
Returns the start time (in seconds) of the earliest instance which has the label “score”.
If no instances are found, it will return -1.