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

Help Needed with Macro for Party Perception Check

Hi everyone, I’m having trouble with a macro I'm trying to set up for a Party Perception Check in my Roll20 game. The macro is designed to check the perception of my players, but I keep getting the error message: "You attempted to use a roll command that requires a character, but no character was found." Here’s the macro I'm using: lua Copy code ?{Whisper?|Yes,/w gm|No,} {{name=👁️‍🗨️ Party Perception Check 👁️‍🗨️}} {{Korg Throg= 👁️ @{Korg_Throg|passive_wisdom} | 🎲 [[1d20 + @{Korg_Throg|perception_bonus}]] }} {{Lucy the Eternal= 👁️ @{Lucy_the_Eternal|passive_wisdom} | 🎲 [[1d20 + @{Lucy_the_Eternal|perception_bonus}]] }} Troubleshooting Steps I've Taken: Checked Character Names: I verified that the character names in Roll20 are exactly Korg Throg and Lucy the Eternal . Token Association: Both characters have associated tokens on the tabletop. Validated Attributes: I confirmed that the attributes passive_wisdom and perception_bonus exist for both characters. Tested Individual Roll Commands: I tried running the commands for both characters, but I still received the error. Created Temporary Placeholder Characters: I created new characters named Test_Korg and Test_Lucy with the same attributes, but I still encounter issues. I would appreciate any help or suggestions on how to resolve this issue! Thank you in advance!
1727703189
timmaugh
Pro
API Scripter
If the name of the character is: Korg Throg ...then you don't refer to it as: Korg_Throg Run this and see if it works: @{Korg Throg|passive_wisdom} ...or... [[1d20 + @{Korg Throg|perception_bonus}]]
Are you using the 2024 D&D sheet? If you are, you're sheet out of luck, because that sheet is broken to hell and back and the macro functionalities are a dysfunctional mess.
Update: I’ve found a workaround for my issue! It seems I've managed to fix it in a rather roundabout way. Here’s the working macro: roll20 Copy code ?{Whisper?|Yes,/w gm|No,} {{name=👁️‍🗨️ Party Perception Check 👁️‍🗨️}} {{Korg Throg= 👁️ 11 | 🎲 [[1d20 + @{Korg Throg|perception_bonus}]]}} {{Lucy the Eternal= 👁️ 14 | 🎲 [[1d20 + 2 + @{Lucy the Eternal|perception_bonus}]]}} I’m using the new 2024 character sheets, and I realized that the wisdom attribute was missing. After renaming the attributes in this way, everything is now functioning as it should! Thanks for the help!
I just looked at the passive wisdom and added the numbers 11 and 14 respectively 2024 sheets look great but are lacking functions and important data for macros.
1727703771
timmaugh
Pro
API Scripter
Tuo said: Are you using the 2024 D&D sheet? If you are, you're sheet out of luck, because that sheet is broken to hell and back and the macro functionalities are a dysfunctional mess. That's true, too.