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

[5e Community] Making a Class Action "Spellbook"

Hello again. I keep making some pretty frequent trips to this forum, but I assure you it isn't out of laziness. More like ineptitude. Currently, I've been setting up some quick fix macros for my players so that we can spend less time rooting around in character sheets and more time on the fly with spellbooks and (the reason for the post) class actions. I thought as my set up with spell books was currently working, I figured that the iteration for class actions would be very similar, however, it doesn't appear to be so. I keep running into a dead end and this is my progress so far. I'm able to complete about half of what I'm trying to achieve, but I can't get to the end goal. As you can see, I have no problem getting a display for each of the class actions to show up, but my issue is that my (~{selected|classactionoutput} isn't actually calling on anything. Am I doing something wrong or is this just not possible with class actions? Might have assumed wrongly that it was similar to the spells tab. Below is what I'm currently using. &{template:5eDefault} {{ability=1}} {{title=Class Actions}} {{subheader=@{selected|character_name}}}{{emote= [@{selected|classactionname1}](~{selected|classactionoutput1}) [@{selected|classactionname2}](~{selected|classactionoutput2}) [@{selected|classactionname3}](~{selected|classactionoutput3}) [@{selected|classactionname4}](~{selected|classactionoutput4}) [@{selected|classactionname5}](~{selected|classactionoutput5}) [@{selected|classactionname6}](~{selected|classactionoutput6})}}
1506559798

Edited 1506559844
Replace "{selected|classactionoutput1}" with "classaction1" (note that there should be no curly braces), etc., and you should have working Ability Command Buttons .
1506560080

Edited 1506561899
Just changed it all over and this is the result unfortunately :( Edit: Derp, changed some things, but I am still getting the same result, except for now its tell me that the substring is undefined. &{template:5eDefault} {{ability=1}} {{title=Class Actions}} {{subheader=@{selected|character_name}}}{{emote= [@{selected|classactionname1}](~classaction1) [@{selected|classactionname2}](~classaction2) [@{selected|classactionname3}](~classaction3) [@{selected|classactionname4}](~classaction4) [@{selected|classactionname5}](~classaction5) [@{selected|classactionname6}](~classaction6)}} SUCCESS!!! Was an error on my part with the previous bit not being totally correct Thanks a ton Silvyre! Hope this helps others as well