Difference between revisions of "Script:DLEllipseDrawer"
From Roll20 Wiki
Timothy M. (Talk | contribs) (→Overview) |
Timothy M. (Talk | contribs) (→Commands) |
||
Line 4: | Line 4: | ||
:'''!treehugger <integer>''' | :'''!treehugger <integer>''' | ||
::''This changes the number of sides drawn for newly-created circles to <integer>.'' | ::''This changes the number of sides drawn for newly-created circles to <integer>.'' | ||
+ | == 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.0|2017-05-08|* Release}} |
Revision as of 22:10, 17 May 2017
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.
Commands
- !treehugger <integer>
- This changes the number of sides drawn for newly-created circles to <integer>.
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)
{{changelog version}1.0|2017-05-08|* Release}}