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:DLEllipseDrawer"

From Roll20 Wiki

Jump to: navigation, search
(Commands)
m
 
(One intermediate revision by one user not shown)
Line 6: Line 6:
 
== Changelog ==
 
== Changelog ==
 
{{changelog version|1.1|2017-05-15|* Fixed bug with default N value from API Script user options; added handling of non-integer inputs for N (rounds up to nearest integer)}}
 
{{changelog version|1.1|2017-05-15|* Fixed bug with default N value from API Script user options; added handling of non-integer inputs for N (rounds up to nearest integer)}}
{{changelog version}1.0|2017-05-08|* Release}}
+
{{changelog version|1.0|2017-05-08|* Release}}
 +
<br>
 +
[[Category:User API Scripts]]

Latest revision as of 18:29, 2 May 2020

[edit] Overview

DLEllipseDrawer automatically replaces ellipses on the Dynamic Lighting layer (which cannot be handled by Roll20's Dynamic Lighting system) with N-sided polygonal approximations of the circles. To use, with the script enabled draw or paste a circle/ellipse on the dynamic lighting layer. The elliptical shape will be deleted and replaced by a polygon, whose number of sides can either be set from the API Script menu or in-game.

[edit] Commands

!treehugger <integer>
This changes the number of sides drawn for newly-created circles to <integer>.

[edit] Changelog

v1.1 (2017-05-15)

  • Fixed bug with default N value from API Script user options; added handling of non-integer inputs for N (rounds up to nearest integer)


v1.0 (2017-05-08)

  • Release