Script to bind default Dynamic Lighting paths to map tiles
This is a script connects dynamic lighting paths with map graphics, so that you can move your map components around without having to worry about manually re-drawing the dynamic lighting paths.
Main Features Save dynamic lighting paths for particular map graphics/tiles Automatically redraws the DL paths whenever an instance of a linked graphic is dropped on the canvas Moves linked DL paths with a graphic whenever the graphic is moved, rotated, flipped or scaled Manages user-controllable doors with associated DL paths. Users can rotate doors to see them open. Can export/import DL path definitions to allow sharing with other users Transmogrifier safe More details including full usage information is in the README on GitHub.
Github link <a href="https://github.com/Roll20/roll20-api-scripts/tree/master/DynamicLightRecorder" rel="nofollow">https://github.com/Roll20/roll20-api-scripts/tree/master/DynamicLightRecorder</a> Version History Version 1.0.1 Various minor bugfixes. Version 1.0 Major upgrade and internal refactor. Script now supports "local templates" for individual tiles and rotation limits for doors. Also now transmogrifier safe. Version 0.9 Minor bugfix to the selective export functionality Version 0.8: Only a minor functional change - added the ability to selectively wipe templates for individual tiles by selecting them before running !dl-wipe. Underneath the covers, I've completely restructured the code to make it a bit neater and more flexible. It also makes less use of the state object, which is the first step on the way to Transmogrifier compatibility and "detached tiles" that maintain their DL paths without being connected to a generic template for that image. Version 0.7: You can now export a limited set of templates based on your selection. Also there's a fancy-pants logging/tracing framework now, but that's not really interesting to end users (until sh*t goes wrong and it helps me fix it!) Version 0.6: New !dl-directDoor command for use with tokens that already pivot properly so that you can use the token itself as the control for a slightly smarter-looking effect. Version 0.5: Now with a simple redraw command to update existing tiles after you edit the master paths for a tile. Version 0.4: it now has import/export so you can share your carefully drawn light-blocking paths with other Roll20 users. Attention all Marketplace artists! Now you can supply DL paths with tiles that you sell on the marketplace! Version 0.3: now also supports making light-blocking doors with handles to help open them by rotating around the hinge. See the README for more details. Lucian