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
m
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
{{revdate}}{{stub}}
 +
{{main|API:Script Index}}
 +
  
 
{{script overview
 
{{script overview
Line 5: Line 8:
 
|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 20: Line 21:
 
These all work on selected token(s).
 
These all work on selected token(s).
  
'''Create Game Clock !game.clock --create -c  
+
<pre style="overflow:auto;white-space:pre-wrap;" data-language="javascript">Create Game Clock !game.clock --create -c  
  
 
Stop the clock --toggle -t  
 
Stop the clock --toggle -t  
Line 34: Line 35:
 
Adjust angle --(number) like --90
 
Adjust angle --(number) like --90
  
Add word before clock :(word) like :StartFrom2019'''
+
Add word before clock :(word) like :StartFrom2019
 
+
</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