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 .
×

Character Sheet Ability Macros Not Working (5e OGL Sheet Help!)

1585261990

Edited 1585262401
I'm using the D&D 5e OGL sheets by Roll20 . I made some "Token Action" ability macros last year in the "Attributes & Abilities" sections of the character sheets. /w gm &{template:npcaction} {{name=@{selected|npc_name}}} {{rname=@{selected|repeating_npctrait_$0_name}}} {{description=@{selected|repeating_npctrait_$0_desc}}} The purpose of this macro is to create a button (which appears when I select the NPC's token) that allows one of the NPC's traits to show up in the Text Chat once I click on it. Like so: The Problem Today I copied over the macros (like the one presented above) from an older NPC's sheet to several newer sheets so I could create a new monster NPCs. An Example As you can see in the screen shot below, this macro is identical for both the Fire Elemental (one of the NPCs that I made today), and the Coal Golem (an NPC that I made last year). The problem is that, the macro still works for the Coal Golem (the older NPC sheet & token), but it no longer works for the Fire Elemental (the recently made NPC sheet & token). Because this is what shows in the Text Chat when I click on the macros of each sheet: As you can see, the Coal Golem's "Berserk" trait shows up just fine. But the Fire Elemental's "Fire Form" trait has an "attribute not selected" error message, as well as a chunk of the macro-text caught up in the description. This same issue is effecting all of my other monster NPCs. The traits only show up as intended for the NPCs that I made months ago. As for the NPC sheets & tokens that I've set up this morning (the Fire Elemental included) all of them have the same "no attribute" problem as screenshotted above. Also, lately I've been experiencing some glitches while trying to edit the NPC sheets, so I'm wondering if there has been a recent update to them that caused this issue or a bug. Especially since I noticed the edit menu (which shows up when you click the Gear icon next to a trait or action) looks different than before, and sometimes the edit menus aren't opening up correctly when I click the Gear icons. Ultimately, I am confused why the macros for my older NPCs sheets & tokens are still working as intended, and the newer ones are not despite being set up in a similar way. I can't tell if it's an outdated macro problem, a glitch in the sheet or token, or a difference between dragging monster info from the Roll20 Compendium instead of setting everything up manually. I hope someone who is more saavy with Roll20 than I am can diagnose the issue and present a solution.
1585262646
Kraynic
Pro
Sheet Author
There was a resent change to the sheet.  Your trait macro is (using a shortened version since I can't copy/paste from a screenshot) looking for $0_desc.  That is no longer the correct attribute.  It is now $0_description.  Any sheet made before the change will still have the original attribute in sheet data, so will work with your macro (at least until you make any changes in trait description fields).  Anything made after the change will only have the new attribute.
Thank you for the quick response! I just added the 'ription' to the end and it works. Though sadly I'll have to go into each new monster sheet and change the macro :P
Change the macro and then copy and paste to each sheet?
Kraynic said: There was a resent change to the sheet.  Your trait macro is (using a shortened version since I can't copy/paste from a screenshot) looking for $0_desc.  That is no longer the correct attribute.  It is now $0_description.  Any sheet made before the change will still have the original attribute in sheet data, so will work with your macro (at least until you make any changes in trait description fields).  Anything made after the change will only have the new attribute. Is there a thread that updates users on small sheet changes like this? It would help to have something like that for reference, if it does exist.
1585273945
Kraynic
Pro
Sheet Author
Every time there is an update, there is a post in the Announcements forum, and it is listed there:&nbsp; <a href="https://app.roll20.net/forum/post/8297517/release-note-for-march-24-2020" rel="nofollow">https://app.roll20.net/forum/post/8297517/release-note-for-march-24-2020</a>
1585275815

Edited 1585275977
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
To be fair, though the announcement was given, the consequences of changing a sheet's existing attribute name would not be immediately apparent to most users. The change log is here , though it does not appear to have been updated since March 10. Be sure to click the link for each date to read the full text, what is shown is a summary.