#How to use rhino unit `time()` outside of painter

7 messages · Page 1 of 1 (latest)

fallen barn
#

How do I want to get the state of time() at one moment and put that into the rhino unit for painter to make an animation?

I want to do something like this:

player.paint({progress_bar:{
  w:`time()-${time()}`
}})

level.time is not the same

Overall goal: I'm using painter and want to make a progress bar that takes a certain amount of time to go from one location to the other.

copper lynxBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

fallen barn
#

wait i think i got it

#

Date.now()

#

no its Date.now()/1000

#
player.paint({progress_bar:{
  w:`time()*100-${Date.now()/10}`
}})