16 lines
326 B
Plaintext
16 lines
326 B
Plaintext
@LAZYGLOBAL OFF.
|
|
|
|
function warp_to {
|
|
parameter timestamp.
|
|
|
|
KUNIVERSE:timewarp:warpto(timestamp). // TODO: improve.
|
|
wait until TIME:seconds >= timestamp. // TODO
|
|
}
|
|
|
|
function warp_for {
|
|
parameter seconds.
|
|
|
|
print "Warping for " + round(seconds, 1) + " seconds".
|
|
return warp_to(TIME:seconds + seconds).
|
|
}
|