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
(Created page with "== Overview == DLEllipseDrawer automatically replaces ellipses on the Dynamic Lighting layer (which cannot be handled by Roll20's Dynamic Lighting system) with N-sided polygon...")
 
(Changelog)
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
 
== Overview ==
 
== 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.
 
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 ==
 +
{{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)


v1.0 (2017-05-08)

  • Release