SplitScript reference / timer
timer
namespace
Reads information from the timer.
Timer operations expose runtime state used by autosplitter decisions.
Examples
Inspect the timer through its namespace
let currentTimerState = timer.state()
Functions
| Member | Description | Available through |
|---|---|---|
| currentSplitIndex | Returns the index of the split the current attempt is on. | |
| isRunning | Reports whether the timer is currently running. | |
| pauseGameTime | Pauses the timer's game-time clock. | |
| resumeGameTime | Resumes the timer's game-time clock. | |
| segmentWasSplit | Reports how an earlier segment was advanced during this attempt. | |
| skipSplit | Skips the current split. | |
| state | Returns the current timer state. | |
| undoSplit | Undoes the previous split. |