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

Nested Macro Help

Okay, usually I do have my macros all figured out.. but recently joined a campaign that uses the Character Attributes and Abilities (a first for me).. I'm trying to find a way to make it possible, either a macro, in-line, or nesting everything that would ask me for a Modifier, in said Modifier i'd like to input the Attribute Name, @{Character|Perception} = 8 @{Character|Stealth} = 9 /r 1d20 + @{Character| ?{Skill name} } So if I do either /r 1d20 + @{Character|Perception} ; it would 1d20+8 /r 1d20 + @{Character|Stealth} ; it would 1d20+9 I get the following error "No attribute was found for @{Character| ?{Skill name}" The reasoning behind this is that I have around 12 different Attributes that work like that, and it wouldn't be easy to maintain such a high amount of macros Is this even possible? Or i'm I way outside the box?
1389356236

Edited 1389356278
Gauss
Forum Champion
You cannot use the Query system for Attributes at this time.
Thanks Gauss, that's great to know =) Well.. not great, but at least now i know I can't do it, and knowing is great, not doing it, not so much =P
I use attributes and token actions very heavily in the campaigns I join (wherever Tokens are linked to character sheets properly, anyway). One of the methods I use to cut down on the number of macros/abilities is to combine similar categories of skills into single macros. Using in-line rolls is much cleaner than full /roll commands , and seriously cuts down on chat spam. For example: Ability: Athletics (display as token action) /me proclaims "We are here to PUMP! *clasps and points* You up!" [ATHLETICS] Climb:[[1d20 + @{Climb} ]] Swim:[[1d20 + @{Swim} ]] Ride:[[1d20 + @{Ride} ]] Fly:[[1d20 + @{Fly} ]] Acrobatics:[[1d20 + @{Acrobatics} ]] Jump:[[1d20 + @{Jump} ]] In this way, the Token Action button only shows up when I click my token (leaving the macro bar on the bottom clean) and cuts down on the overall number of buttons to click through. If the game you're in doesn't have the tokens linked to your character sheet correctly, you can do something similar with regular macros, but you have to refer to your Character Sheet's name along with the attribute. For example: Climb:[[1d20 + @{SheetName|Climb} ]] Swim:[[1d20 + @{SheetName|Swim} ]]
That's a great idea Mark, I'll see if i'm able to do that, or at least I'll group my skill checks Kudos on thinking outside the box =)