Difference between revisions of "Script:DLEllipseDrawer"
From Roll20 Wiki
Timothy M. (Talk | contribs) (→Changelog) |
Andreas J. (Talk | contribs) m |
||
Line 7: | Line 7: | ||
{{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