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

Passive Perception auto-detect API?

Hi everyone. I just wanted to ask if there is some kind of API in Roll20 to allow tokens be automatically detected on the battle map once a player with a high enough passive perception gets near the token? Like lets say there is some kind of drawing on the wall that only someone with passive perception of 15 notice. I want a token to show up only when that player gets near that token, but have it done automatically so I as DM do not have to do it manually. Thanks for your time and have a great day.
Check out the it's a trap api
Kilter said: Check out the it's a trap api It does not properly calculate passives unless the players are in perfect daylight and they have no disadvantage or advantage because the roll20 5e sheets do not adjust those as theres no proper way to alert the sheet its now in darkness, low light, or suffering from a disadvantage/advantage situation.   OP, I suggest group-check api.  You can make a storage page in your session with X blank tokens, just roll a D20 and drag the icon to the page.  Then everytime you get new players into your game with characters, set those tokens to represent their characters(but dont update default token).  Now find out the token id's of those storage page tokens and make a group check macro, a perception roll macro, and an investigation roll macro that rolls from those tokens.  Now when the players wander onto or near any monster or trap you can quickly see their perceptions either rolled or passive in a whisper to yourself and then decide what to do.  Below is an example of a macro, to get the token id's of those storage page tokens just type @{target|token_id} and select them and you get their codes to pop in a macro like this: !group-check --whisper --ids -MrfFGVGAi25ZS_aSsXU, -MrfGcdY8drK-vQaDKL-, -MrfGdg4E8MUC3_64Dd-, -MrfGeTxHvOgH7ZhaiBb, -MrfGfFhdc_TCNaSAVv2, -MrfGg2_Y2ZLz0U9X1mA, -MrfGh04cvMrQrtnP_Cw, -MrfGhyLu_RkVXLA0FPl, -MrfGivCMt9C8Ik5riWh, -MrfGjZLEN14jvRI9QUU, -MrfGjkTrveRappxQKQR, -MrfGjwT9rcBnBo421Wl --ro roll2 --showaverage --?{Snap Check?|Perception|Stealth|Investigation} If rolling for the players without them knowing bothers you, just replace the perception roll for their passive but you'll probably have to make a custom group check for that.  I don't see a point in worrying about the rolls though cause they are whispered and ultimately its always going to be your decision as you set the DC anyway for them to beat and a passive stat is too flat for my taste, I like random chance so I roll passives, afterall thats the whole point of having a computer, to do the things we normally leave to averages.   Its a trap is still an ok script, I use it but not for its intended purpose.  I use it to store trap data and sound effects for the traps and always just fire them manually cause of the above flaw in passive perception and the 5e sheet.