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 trigger of javascript?

1588075293

Edited 1588075332
Hi, is there any way, how obscure it may be, to trigger javascript passively, let's say after after a roll and in the rolltemplate section? I have a roll trigger with three different dice roll properties (which are already quite complex and needed for themselves for proper output) and want to do some math with them afterwards (simple addition and substraction). This should happen without another user input (mouse click). PS: The existing sheet does part of this math inside the roll trigger using only one property and also using the helper functions afterwards, which works but doesn't give access to the single dice rolls of course. It really is a question of proper output that fits the rules, mostly.
1588076564
Andreas J.
Forum Champion
Sheet Author
Translator
That sounds to be in the API Script territory, which is a Pro subscription feature.