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

how to set 3rd bar of tokens to passive perception

I want to check passive perception of npc token just by clicking on them. So I have tried to change it in Game Settings. Specifically BAR 3 LINK to: "npc_passiveperceptionbase" And then to Apply Default setting in the game (checking only BAR 3 LINK and all layers, then Apply Settings and wait for the progress bar and wait till the popup "Selected setting successfully applied, and click OK, Exit game, and Launch Game). No change. Is it supposed to work? Or have I missed something? "npc_passiveperceptionbase" works when changing only one token.
1642977531
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Which tokens are you testing on? Changing the campaign default only changes tokens on the board or new compendium drags, not pre-saved default tokens.
the problem I believe is that the actual value is "passive_wisdom".  I don't own the monster manual but that is what all the free sheets populate for an accurate passive score, and if you have the third party tools it gets worse, those use "passive" because there is no actual passive perception entry in stat blocks, its piggy backed onto the same line as the senses.  Its also worth pointing out, only because I don't know you and you could very well be a new DM, the passive wisdom of monsters will go up and down depending on the levels of obscurement and vision in the area as well as specific traits some creatures have, passive_wisdom is not properly adjusted for things like keen sight, smell, and hearing nor should it as the whole system is highly reliant on the DM's interpretation in every individual situation.  Theres no true uniform setting that should be kept.  
1643043601

Edited 1643043856
Andreas J.
Forum Champion
Sheet Author
Translator
yep, passive perception is tracked on the "passive_wisdom" attribute for players, and for NPCs it's partially mentioned in "npc_senses", but not as a standalone number. I posted about this in the 5E sheet thread, when I realized this. "npc_passiveperceptionbase" works when changing only one token. Is this an attribute already on the sheet, or something you manually created?
The 5E sheet has an attribute named 'npc_perception_base', but it doesn't seem to be in use.  The 'npc_senses' attribute lists what the Passive Perception for an NPC is, in a static text format, and some other fields are populated with modifiers (such as the 'perception_bonus' attribute), but I don't see anything on the 5E sheet that natively lists the passive perception as a number. Using the TokenMod and ChatSetAttr scripts, I have a new token setup script that includes this section: !token-mod {{ --set bar3_link|passive_wisdom bar3_max|  bar3_current|?{Passive Perception?|@{selected|passive_wisdom}} }} So whenever I create or update an NPC token, it'll link Bar3 to the 'passive wisdom' stat, and then update the 'current' value to an inputted value. I run another macro first to whisper the character's 'npc_senses' info to me, so I have that info from the sheet.  Of course, this requires a Pro subscription to use those API scripts.
keithcurtis said: Which tokens are you testing on? Changing the campaign default only changes tokens on the board or new compendium drags, not pre-saved default tokens. Not sure. I've bought Curse of Strahd campaign recently. And I wanted to chang the BAR 3 to passive perception for all creature tokens in the maps (in object and GM layers). Is it possible to use Apply Default Settings to change it? What is pre-saved default token?
Unfortunately I am only Plus user. But thanks for tips 👍 Jarren said: Of course, this requires a Pro subscription to use those API scripts.
I have tried "npc_senses" with the same result 🤔 "npc_perception_base" is already in Attributes & Abilities section of the sheet. Andreas J. said: yep, passive perception is tracked on the "passive_wisdom" attribute for players, and for NPCs it's partially mentioned in "npc_senses", but not as a standalone number. I posted about this in the 5E sheet thread, when I realized this. "npc_passiveperceptionbase" works when changing only one token. Is this an attribute already on the sheet, or something you manually created?