Tabletop Simulator

Tabletop Simulator

36 ratings
Analog Timer
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
19.155 KB
26 Sep, 2020 @ 7:32pm
1 Change Note ( view )

Subscribe to download
Analog Timer

Description
Analog timer that ticks and beeps. Tintable and assigned by names in the contextual menu.
Entirely self contained (uses the component API) - copy, paste and delete as much as you like.

Commands and usage instructions:
Assign your timer a name. This will be the name you use when referencing that timer with chat commands. Colour tint has no effect on functionality (as it limits flexibility).

!timer name time
Starts the timer name for time in seconds.
Example: !timer apple 30 - Starts the timer named "apple" for 30 seconds.

!stop name
Force stops the timer name and prints the elapsed time.
Example: !stop apple - Stops the timer named "apple".

If you see the mod having been updated then consider grabbing the latest version from this submission, it might be important. I don't plan on adding a toggle for the ticking sound as that's half the point of the asset, if you don't like it then remove line 76 in the script: self.AssetBundle.playTriggerEffect(0)

Feel free to use this in your Tabletop Simulator games and workshop mods, no credit/disclaimers necessary.

https://discord.gg/fSHFDVX
4 Comments
SaltyO 9 Jan, 2021 @ 1:11pm 
Beautiful.
ulia  [author] 2 Oct, 2020 @ 11:16pm 
Call setTimer(time) and/or stopTimer - https://api.tabletopsimulator.com/object/#call

Other than these two userinputs the timer manages itself.
pabroski 2 Oct, 2020 @ 10:49pm 
I'm learning how to build out some games. Is there a way to automate this with a button click? I tried using print and broadcastToAll to do trigger the !timer peach25 but the timer would only start when I typed it in as a player in-game. Any help would be appreciated!
fried raccoon 27 Sep, 2020 @ 3:34am 
I love it!!