Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[Suggestion] A better "tokenaction" solution for character sheets

1401592040
Actoba
Pro
Sheet Author
I think the general consensus is that it would be useful to allow players to have some/all of the macro buttons from the character sheets show up as token actions but that the current solution for that, where the user has no control over what buttons they want as a token action, isnt ideal. So here's a suggestion/wishlist for an enhanced implementation - The character sheet authors "tag" the roll buttons they would like to be available as token actions in the same way they would do now by adding the tokenaction class to the button in their sheets The character sheet UI, specifically the abilities section of the attributes and abilities tab (where custom made abilities can be edited/added) is split into two sections. First section - Essentially the same as it currently is allowing users to add or edit "custom" abilities for themselves and choose whether to display them or not. Second section - A list of the all the token actions pulled from the sheet ("Sheet abilities" perhaps?), but without details of the macro itself (meaning that users couldn't edit the macro). Each entry in the list would show the following - Name of roll (read only and taken from the sheet) A "display name" field to allow the user to customise what the macro/token action button would display so that a user wouldnt have to use the in built name for the roll when using it as a macro/token action button at least 2 checkboxes for the "show in macro bar" and "Show as token action" with the same functionality as the user customised token actions. A roll button to trigger/test the macro The same draggable handle the custom abilities have for re-ordering the display of the rows...though how this interacts with the order of the custom abilites would likely have to be reviewed......maybe keeping them all in 1 Abilities section would be better but distinguishing between custom and sheet abilities with styling might be better? A setup similar to this would allow sheet authors to "authorise" as many of the roll buttons as was appropriate to be used in this manner safe in the knowledge that the user still retained full control over whether to turn on/off each individual one from the revamped Attributes and Abilities tab. The user wouldnt be able to edit the actual macro's associated with those rolls though as thats what the current abilities section can be used for. This should also mean that theres no need to maintain the macro details (only the additional options for display name, the 2 checkboxes and which roll button it's linked to)...and of course were the character sheet of a campaign to be changed the state of all these "Sheet abilities" would be lost and reset according the way the newly chosen sheet has been setup. I would hope that a setup like this could perhaps leverage much of the existing roll20 functionality around the "abilities" section rather than having to re-invent the wheel? And then of course......wishlist time.....if we could then get a system like this to work with rolls within repeating sections! :) Imagine being able to change that attack roll button on the sheet thats actually called something like "repeating_MySectionName_0_MyAttackRoll", set a display name for it of "Battleaxe" and then check the "show as token action" checkbox! Obviously though, thats more work/load (for the devs and system) as it would have to dynamically update the "Sheet abilities" section everytime a repeating section row was added/removed rather than simply do a one time run on a campaign when it was created or when the character sheet used for it was changed (or a custom one was updated, or a new version with breaking changes was pushed live from the repo). Thanks for listening and keep up the good work :)
1401724762
Actoba
Pro
Sheet Author
Would it also help if, instead of adding the token action class, sheet authors provided some sort of config data, perhaps as additional entries in the json file? I suppose this would allow authors to provide token actions for things that were not even buttons in the character sheet...like for example an alternative layout/output for a macro, or one that uses an API script, rather than these having to be a separate sheet. A system like that would even simply allow them to be auto added as normal token abilities just like any custom made ones are right now so users could edit and/or activate them as required though it would be a little more work for authors to maintain