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

Initiative Macro

About a couple weeks ago my macro for initiative stopped working: %{selected|initiative} I suspect the alias for initiative updated but don't know where to find it.
I has not changed at all for 5e OGL npc sheets.  Is the sheet you are trying to use it on an impartially dragged out npc or a player character or is it missing that specific attribute from the third tab?
They are all PC sheets. I'm finding this problem on multiple character sheets. Have not tried it with an NPC sheet.
It keeps spitting this back at me:  No ability was found for %{selected|initiative}
So it turns out that it's a known glitch that has never been fixed. If you name you macro 'Initiative' it breaks. This is a dumb problem to have, I hope it gets fixed.
1619475918
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Erik Tukey 8030303765 said: So it turns out that it's a known glitch that has never been fixed. If you name you macro 'Initiative' it breaks. This is a dumb problem to have, I hope it gets fixed. If you are using a sheet that has a prebuilt ability called Initiative (like the D&D 5th Edition by Roll20 Sheet), then yes, it will break, because you have created a second ability of the same name. It's trying to reference something that you have created two of, and this can lead to unexpected results. The solution is to name it anything else: Init, 1initiative, roll initiative, etc. Similarly, you should avoid using control characters in character names, like starting it with an exclamation, or putting in quotes. These can cause macro problems.