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

Advanced Macro- Skills

Hey all. I'm attempting to write an easy macro that does the following: - Hit the macro - Prompt for skill name - Pulls skill name from abilities list - Performs a roll Example > Click Macro > Input: Jump > Imports "5" from the ability list for "Jump" > Rolls a D20+5 Example Output: Skill Name: Jump Roll: 25 Pseudo Code: (Not working) (Assuming there is an ability named "Test" in the abilities list) Skill Name: ?{Skill Name|0} Roll: [[1d20+@{?{Skill Name|0}}]] Suggestions?
Long way around is the following: Skill Name: ?{Skill Name|0} Roll: [[1d20+?{Skill Rank|0}]] With this, I have to make two inputs for the macro "Skill Name" and "Skill Rank". I'd rather have it pull from the ability list.
You currently cannot use a query to get an attribute from a character sheet. That is an API only thing right now.
i'm going to ask guidance from the great HB =P , any ideas on where to look for this? i haven't encountered anything like it yet in the API forums (maybe i just rolled a nat 1 on my search-fu
Pretty simple to do in the API, about 30 lines Roll Skill Source