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

D&D 5e OGL sheet universal skill check macro

So I'm suuuper surprised I haven't been able to find a hundred folks asking this already, but I'm really hoping to create a single macro that will give a drop down containing each of the skills, that then rolls (privately as DM) for the skill check and includes bonuses from @{pb} as well as @{global_skill_mod} boosts. All my trial and error (being mediocre with macros in general) have had very little success. I assume a ?{what skill|Perception} would be required and then calling that later in the macro would be the way to go.  /w gm &{template:default}{{name=Party ?{what skill|perception}}}   {{Player1=[[1d20+@{Player1|?{what skill|perception}_bonus}+@{Player1|global_skill_mod}]]}}  No attribute was found for @{Player1|?{what skill} Is what I'm hoping to do even possible through a simple macro or is an API the only way to go (not that I've found an API that does this, yet)?
You can set this one up as a token macro, and it should do the trick. /w @{selected|character_name} &{template:npcaction} {{rname=Skill Checks}} {{description=Select Skill Check [Acrobatics](~selected|acrobatics) [Arcana](~selected|arcana) [Animal Handling](~selected|animal_handling) [Athletics](~selected|athletics) [Deception](~selected|deception) [History](~selected|history) [Insight](~selected|insight) [Intimidation](~selected|intimidation) [Investigation](~selected|investigation) [Medicine](~selected|medicine) [Nature](~selected|nature) [Perception](~selected|perception) [Performance](~selected|performance) [Persuasion](~selected|persuasion) [Religion](~selected|religion) [Sleight of Hand](~selected|sleight_of_hand) [Stealth](~selected|stealth) [Survival](~selected|survival) }}
Oooh. I'll totally file that away! Thank you for the prompt response, Mr. Aaron.  I'm hoping to set that kind of thing up in a template that will list {select skill} for all PC's. Is that a possibility? 
1598047570
Ziechael
Forum Champion
Sheet Author
API Scripter
As a pro user you could likely save yourself some overhead by using the group check API script. Otherwise you are looking at: A) nesting a group check as the result of a query for each skill B) setting up a 'Party' macro mule character which you could hardcode single skill checks for the party and then call it in a way similar to how Aaron has listed above I'd also recommend checking out the Stupid Tricks thread for potential solutions, the OP has a nice menu to peruse and likely has some things relevant or at least convertible for your needs :) If you choose to go with A I'll happily give you a taste of the madness to be unleashed but only if you need it ;)
It'll be a couple days before I have a chance to, but I'll see if there's anything I can adapt from that Stupid Tricks thread before anyone other than me puts any more work or time into this idea. I'll post back here with whatever happens in case others search for the same idea. Thank you, Aaron and Ziechael!