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

Calling Attributes Values for Attribute Calls?

So I'm building some macros for Shadowrun, and I have a Rigger character with multiple drones. As it stands, I have chat menus to grab macros if they are jumped into the drone, and macros so the drone can roll on it's own. The problem is the former one, since the rolls need both the drone's stats and the user's, it uses @{selected| for the drone and @{target|Pilot for the pilot of the drone. What makes this annoying to use however is that they need to click on themselves every time to make a roll. I want to keep it modular so that I can define the value on a per drone (character sheet) basis. I was looking for the specific use case of using attributes to define an owner, and to use that in @{} attribute calls. For example an custom attribute on a drone of "owner" with a value of Ronald, would it be possible to then call @{@{selected|owner}|body}, calling the selected drone's owner value of Ronald, so that it fills out to be @{Ronald|body}? If anyone else has any way to reference different characters in any efficient way on a per character basis, it would be much appreciated.
Nevermind! I figured it out while digging through the stupid tricks thread. The solution is given from this post. <a href="https://app.roll20.net/forum/post/5899495/stupid-roll20-tricks-and-some-clever-ones/?pageforid=6137639#post-6137639" rel="nofollow">https://app.roll20.net/forum/post/5899495/stupid-roll20-tricks-and-some-clever-ones/?pageforid=6137639#post-6137639</a> My Macro Mule "Drone Utility" character sheet simply has a prefix attribute prefix: @{ @{prefix}@{selected|owner}|agility} then calls for @{selected|owner} from the drone in question, then grabs his agility stat.