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 With 5e Passive Perception Macro

Hi all, I threw together (mostly copied) this macro that brings up a list of my party's passive perception: /w gm &{template:npcaction} {{rname=Passive Perception}} {{description= **Brand:** [[10+@{Iron Brand of the Deep Valley|perception_bonus}]] **Windracer:** [[10+@{Marok Windracer Kolakanathi|perception_bonus}]] }} It works great! Except that I realized today it's failing to find the first character with this error: No character was found for 'Iron Brand of the Deep Valley' But there totally exists a character with that name. I double-checked spelling and looked for extra spaces and so on. He used to be "Iron Brand of the Deep Valley (Brand)" so perhaps changing the name mixed something up? I tried exiting the game and restarting. I tried using his old name in the macro. Nothing seems to work. Any ideas?
1660695289
Gauss
Forum Champion
I suggest going to his character sheet, highlight the name, copy it, and paste that in the macro. That may resolve the issue. 
Gauss said: I suggest going to his character sheet, highlight the name, copy it, and paste that in the macro. That may resolve the issue.  Thank you for the suggestion. I'm embarrassed to admit that worked. I was looking for trailing spaces. Turns out there was a LEADING space. Doh. Well, there's a reason I don't do much with coding!! :)
Name is character sensitive, yes. Part of why I ask players to only put the short version of their name in the name field and put their 5 billion miles long full name in the Bio section lol. Would you allow me to share with you part of the Macro I have made for my table? Returns current / max HP, AC and passive perception. {{**Player #1**=HP: @{Player #1|hp}/@{Player #1|hp|max} | AC: @{Player #1|ac} | PP: @{Player #1|passive_wisdom}}} I use the Default template, but can easily be adapted to yours ^.^
1660700591
Gauss
Forum Champion
Steven B. said: Gauss said: I suggest going to his character sheet, highlight the name, copy it, and paste that in the macro. That may resolve the issue.  Thank you for the suggestion. I'm embarrassed to admit that worked. I was looking for trailing spaces. Turns out there was a LEADING space. Doh. Well, there's a reason I don't do much with coding!! :) Them spaces are sneaky and you failed your perception roll. :D Glad you found it. 
Here is a trick I use for Passive Perception for my players Tell them to change their DISPLAY NAME to their Character name + Their Passive Perception Number. Novercalis #17 or 17 or 17pp
1660708415
Gauss
Forum Champion
Novercalis said: Here is a trick I use for Passive Perception for my players Tell them to change their DISPLAY NAME to their Character name + Their Passive Perception Number. Novercalis #17 or 17 or 17pp I use a macro to whisper the numbers to myself
I put PP in the third token balloon: Green=hp, Blue=ac or npc_ac, Red=passive_wisdom. For tokens not linked to full character sheets you have to manually type in the PP value since there's no variable for it in the NPC character sheet.
Rick - Most npc tokens - the passive perception is under "passive_wisdom" for 5e ogl sheets I like my 3rd bubble for something else :)
Rick A. said: I put PP in the third token balloon: Green=hp, Blue=ac or npc_ac, Red=passive_wisdom. For tokens not linked to full character sheets you have to manually type in the PP value since there's no variable for it in the NPC character sheet. Same ;oP I use the name under the player's avatar to show Character Name (Discord Name).