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

When Using World Discovery Would This Be Possible?

Would it be possible to pull a variable from the character sheet when using this great script. Situation would be this, Let's say you have a Variable called Perception, you want to have your World Discovery script Roll a 1d20+Perception (of course the Perception of the Token that triggered the script) Something like [[1d20+@{Perception}]]. Right now the script will Roll the d20, this I think is built into Roll20 but if a Variable from the Triggerer (is that word) could be used it would offer a kind of unique set of options for this script.
1478227997
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
It sounds like you might want to look at  It's a trap (if you aren't already using it for things).
I tried to Use It's A Trap PF-Simple but it errors telling me TrapThemeHelper not defined... Also I would rather use the default, but it has no option to simply use a Passive Perception variable for Spotting the Trap or other hidden object...
1478267554
Ada L.
Marketplace Creator
Sheet Author
API Scripter
Ajax said: I tried to Use It's A Trap PF-Simple but it errors telling me TrapThemeHelper not defined... Also I would rather use the default, but it has no option to simply use a Passive Perception variable for Spotting the Trap or other hidden object... Are you sure you've also properly installed the PF-Simple trap theme? The trap themes are separate scripts that must be installed in addition to It's A Trap.  The default trap theme can't use any sort of passive perception because the rules for that are system-dependent. The default theme only supports trap properties that are system-agnostic. You would have to use a trap theme such as PF-Simple to provide the rules for passive perception.