Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Difference between revisions of "Script:Game Timer"

From Roll20 Wiki

Jump to: navigation, search
(Created page with "{{script overview |name=APIHeartBeat |author={{user profile|1540094|Aaron C. M.}} |version=1.3.1 |lastmodified=2019-03-05}} {{stub}} This is a simple script to court how long...")
 
m
 
(7 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
{{revdate}}{{stub}}
 +
{{main|API:Script Index}}
 +
 +
 
{{script overview
 
{{script overview
|name=APIHeartBeat
+
|name=Game Timer
|author={{user profile|1540094|Aaron C. M.}}
+
|author={{user profile|1540094|SAD}}
 
|version=1.3.1
 
|version=1.3.1
 
|lastmodified=2019-03-05}}
 
|lastmodified=2019-03-05}}
{{stub}}
 
 
 
This is a simple script to court how long does player use the game room.
 
This is a simple script to court how long does player use the game room.
  
Line 16: Line 18:
 
Support for multiple clock at same time.
 
Support for multiple clock at same time.
  
Red Bar be hours.
+
Commands to create, toggle, and reset.
 +
These all work on selected token(s).
 +
 
 +
<pre style="overflow:auto;white-space:pre-wrap;" data-language="javascript">Create Game Clock !game.clock --create -c
 +
 
 +
Stop the clock --toggle -t
 +
 
 +
Reset the Clock --reset -re
 +
 
 +
Turn on/off rotation --rotation -ro
 +
 
 +
Turn on/off status markers --marker -m
 +
 
 +
Turn on/off aura --aura -a
  
Green Bar be minutes.
+
Adjust angle --(number) like --90
  
Blue Bar be seconds.
+
Add word before clock :(word) like :StartFrom2019
[[File:https://media.giphy.com/media/p3UdAFAiVPZTo8zDXu/giphy.gif|thumbnail]]
+
</pre>
 
<br clear="all">
 
<br clear="all">
  

Latest revision as of 13:52, 11 October 2021


Main Page: API:Script Index


API ScriptAuthor: SAD
Version: 1.3.1
Last Modified: 2019-03-05
Code: Game Timer
Dependencies: None
Conflicts: None

This is a simple script to court how long does player use the game room.

Just upload a clock picture on the table and name game.clock.

Then the picture will court the time.

API sandbox will shutdown soon when all player exit the room.

Support for multiple clock at same time.

Commands to create, toggle, and reset. These all work on selected token(s).

Create Game Clock !game.clock --create -c 

Stop the clock --toggle -t 

Reset the Clock --reset -re 

Turn on/off rotation --rotation -ro 

Turn on/off status markers --marker -m 

Turn on/off aura --aura -a 

Adjust angle --(number) like --90

Add word before clock :(word) like :StartFrom2019


[edit] Changelog

v1.3.1 (2019-03-02)

  • Release