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

Macro for multiple selected tokens?

Hi,  I searched for the topic, but I couldn't find what I was looking for. I'm an old hare on the GMing side, but I only recently have started using macros. So, I'm not very familiar with the language and the possibilities. I wanted to write a Macro that is fairly similar to GroupCheck, but for Pathfinder 2e. I wanted it to run for me as a GM, and spit out the results of the check as a whisper, to use it for secret perception / save checks etc. I think I'll manage to adapt it to different skills / checks, but is there any way in a macro to address all selected tokens? Thanks, Lessa
GroupCheck should work for Pathfinder 2E. Here's another forum post with configuration instructions .
I am so sorry, but I'm quite cross-eyed right now. I am not very familiar with scripts; I can't see what I have to do where. What do I have to put into API, what do I have to put in Macros, and will it be fully compatible with PF2 roll20 sheet afterwards? 'Cause I don't need it only for saves, but for skill checks, either.
Or is there simply an option to address several selected tokens at the same time via macro or script?
1683632742
David M.
Pro
API Scripter
I don't use GroupCheck or play PF, but it looks like from Jarren's linked post that you would just need to run the "Config Code" listed in the link one time to update the [persistent] configuration settings of the GroupCheck script to PF2. Just copy that code clock from the linked post into a new macro and run it once. That post then showed the macros to use when making saving throws for multiple selected tokens using the PF2 configuration settings that you will have already established. You'd need to modify for skills/whispers from that point accordingly.
1683640550
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
If you are using the official PF2 sheet, you might also want to consider installing the Token Action Maker script via One Click. Once that is installed, you can select a token that represents a character or monster, and type "!ta pf2" into chat. It will generate token action buttons for all of that creature's saves, checks, attacks, spells and features. Huge timesaver during play. How to Install Roll20 API Scripts
Thank you both, I'll try that!