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

Cosmere RPG Getting Worse!

Wow. So in some of my Cosmere RPG tests, calling attributes from a Demiplane character in a macro only works when testing the macro, not when calling the macro. Similarly, calling attributes in the chatbox works fine. In others, attributes can't be called at all. Attributes can't be linked in a token (assigned tokens do not even see the attributes in the dropdown boxes). No answers to support requests.
1756568114
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hey Dr. DM! Can you post an example of the macro code that is (to make sure I understand): working when testing not when calling works in chatbox And can you clarify if this is a  macro in the journal tab or an ability on the character sheet (what Roll20 is trying to re-brand a "character macro")? And finally, how are you "calling it"? Typing the macro name in chat? Using a macro or token action button? And could you post that code? I'll try to reproduce and diagnose, but more info is needed.
1756570022

Edited 1756571245
Here's a very simple example, a macro named "Test" with only the following command: @{selected|health} Let's take the Axehound adversary as an example. The Axehound has a health attribute with a value of 12. For the Roll20 native Adversary (NPC): Type the text of that macro into the chat, and chat returns "12". Call Test in chat with "#Test" in chat, and the chat returns "12". Click on the die icon for Test in the Macro tab, and the chat returns "12". Open the macro from the Macro tab, and click on the "Test" button,  and the chat returns "12". Assign the macro to the Macro Bar, and click on the associated button,  and the chat returns "12". Assign the macro as a token action, select the associated token and click on the associated button,  and the chat returns "12". For the Adversary (NPC) character generated by Demiplane and imported into the Roll20 game Type the text of that macro into the chat, and chat returns "12". Call Test in chat with "#Test" in chat, and the chat returns "10". Click on the die icon for Test in the Macro tab, and the chat returns "10". Open the macro from the Macro tab, and click on the "Test" button,  and the chat returns "12". Assign the macro to the Macro Bar, and click on the associated button,  and the chat returns "10". Assign the macro as a token action, select the associated token and click on the associated button,  and the chat returns "10". As far as I can tell, the value of 10 or 2 is returned for every attribute for every character (Adversary or Player Character) imported from Demiplane except for the limited cases I note above. When I try to assign a new token to an imported character, sometimes it works fine, and sometimes it takes some time for the token to populate dropdown boxes in the token dialog box. This persists over multiple exits and restartings of the game, eventually clearing up at some point. Until this time elapses, any of the macro calls above return either "Undefined" or nothing at all. Interestingly, with the Roll20 native sheet, if you set the sheet to toggle for the type of roll and then toggle Advantage, a roll from the sheet will only return a result of 2. Not sure if it's related or if 2 is some sort of default value within the environment.
1756658254
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Thanks! I'll see if I can get any eyes on this.