readMatchElapsedSeconds
readMatchElapsedSeconds(
source,match):number
Simulated seconds match has played at the source’s tick: the steps
from its start to its end, or before the tick the source stands on; 0
before it plays or where it holds no match. Derived from the ticks its
trait keeps, so a clock that reads it each step moves with nothing
written. A HUD reads the same seconds from useMatch.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
source |
TickSource |
match |
MatchEntity |
Returns
Section titled “Returns”number