True Page Copy.js Download Links: Version 1.0 1-click install now available! A little script to make the duplicate page button actually work. Fully copies one page to another, obeying Z-ordering, token stats, linked bars, and dynamic lighting walls. It will copy everything from a small 12x12 map, to a 600x600 behemoth. Use this in conjunction with Twins to get the most out of multi-page setups! Big thanks to TheAaron and Scott C for helping me fix a major error in development. What does True Page Copy do? Automatically duplicates page graphics to your shiny new page when you click the "Duplicate Page" button. Gives you a chat command to manually copy page graphics to other pages on a whim. Forces you to click a button so the whims aren't as destructive. Chat Command : 1. Use the 'Duplicate Page' button on the pages menu.
OR
1. Use !pagecopy or '!pagecopy source' to select the page you're looking at as the source.
2. Use !pagecopy while looking at a different page to select it as the destination.
3. Select the [Yes] button in chat to copy from source to destination.
Through the API : // The exposed function is TruePageCopy.CopyPages(@sourcePageId, @destinationPageId)
// The party is moving from an area to a similar looking area TruePageCopy.CopyPages(templateArea.id, targetLocation.id); exampleMovePlayersToNewArea(playersArray, targetLocation.id); Change-log & Known Bugs: Known Bugs: You also cannot copy graphics unless they are in your library. This is a strict limitation of the API. Pages altered by the script will have to be deleted twice (if you want to delete them). Version 1.0: Released to the public. Updated to properly order graphics.