Difference between revisions of "Script:The Darkness is Closing In"
From Roll20 Wiki
m |
Andreas J. (Talk | contribs) (redirect to Script Index, API no longer available) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | #Redirect[[API:Script Index]] | |
+ | <!-- Don't delete redirect, help center links to this page even though API have been removed | ||
+ | [[Category:Discontinued API Scripts]] --> | ||
+ | |||
+ | script overview | ||
|name=The Darkness is Closing In | |name=The Darkness is Closing In | ||
|author={{user profile|1|Riley Dutton}} | |author={{user profile|1|Riley Dutton}} | ||
Line 5: | Line 9: | ||
|lastmodified=2015-01-06 | |lastmodified=2015-01-06 | ||
|code=The Darkness is Closing In | |code=The Darkness is Closing In | ||
− | + | ||
− | + | ||
'''The Darkness is Closing In''' reduces the light radius of a token by 10% every time that token moves. Great for simulating "lamps running out of oil" or similar high-stress situations. | '''The Darkness is Closing In''' reduces the light radius of a token by 10% every time that token moves. Great for simulating "lamps running out of oil" or similar high-stress situations. | ||
<br clear="all"> | <br clear="all"> | ||
− | == Installation and Configuration == | + | === Installation and Configuration === |
Copy the script's code, available from the menu on the right and stored at Roll20's [https://github.com/Roll20/roll20-api-scripts API GitHub Repository]. Paste the code into a new script in your campaign's [[API:Use_Guide#The_Script_Editor|API Script Editor]]. Save the new script and it will be available inside your campaign. | Copy the script's code, available from the menu on the right and stored at Roll20's [https://github.com/Roll20/roll20-api-scripts API GitHub Repository]. Paste the code into a new script in your campaign's [[API:Use_Guide#The_Script_Editor|API Script Editor]]. Save the new script and it will be available inside your campaign. | ||
− | == Script Use == | + | === Script Use === |
This script was created as an example. It is always active and doesn't work well without custom triggers. | This script was created as an example. It is always active and doesn't work well without custom triggers. | ||
− | == Changelog == | + | === Changelog === |
{{changelog version|1.1|2015-01-06|* Release}} | {{changelog version|1.1|2015-01-06|* Release}} |
Latest revision as of 20:06, 20 September 2021
- RedirectAPI:Script Index
script overview |name=The Darkness is Closing In |author=Riley Dutton |version=1.1 |lastmodified=2015-01-06 |code=The Darkness is Closing In
The Darkness is Closing In reduces the light radius of a token by 10% every time that token moves. Great for simulating "lamps running out of oil" or similar high-stress situations.
[edit] Installation and Configuration
Copy the script's code, available from the menu on the right and stored at Roll20's API GitHub Repository. Paste the code into a new script in your campaign's API Script Editor. Save the new script and it will be available inside your campaign.
[edit] Script Use
This script was created as an example. It is always active and doesn't work well without custom triggers.
[edit] Changelog
v1.1 (2015-01-06)
- Release