OnBegin<override>()<suspends> : void =
# GetActiveDuration hands back a number (the seconds left).
# We catch it in a named noun so we can use it.
TimeLeft : float = RoundTimer.GetActiveDuration()
Print("Seconds left: {TimeLeft}")
Verse Library
verse
04 Fragment
Retrieves the current countdown value from a timer device and logs it on startup.
verse-library/verse-devices-functions/04-fragment.verse