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 .
×

Is it possible to call any attribute inside a attribute calling?

Ive been messing around with macros like 5-6 months now, and im encountered a problem with a macro based game i recently "finished" (there are some errors i need to fix). Let me explain the problem: &{template:default} {{Dodge= [[1d100cs<[[floor(@{Agility}/5+@{Luck}/5+@{Pendragon Arthur|Dodge})]]cf>[[floor(@{Agility}/5+@{Luck}/5+@{Pendragon Arthur|Dodge})]]]]}} This works just fine without any kind of problem. But in the system i made just because of my stupidity i made it kinda complex. The diferent players have multiple character sheets, and some of the stats are taken from the main player sheet. What i want to do is this: &{template:default} {{Dodge= [[1d100cs<[[floor(@{Agility}/5+@{Luck}/5+@{@{owner}|Dodge})]]cf>[[floor(@{Agility}/5+@{Luck}/5+@{@{owner}|Dodge})]]]]}} So, for this example, adding a "@{owner}" attribute makes the process for cloning and updating so much faster than, instead of taking 5 minutes updating the cloned sheet, i just need to write the owner of the sheet in just 5 seconds instead of minutes. It just dont work as i want. Rol20 says to me "HAHA NOPE!" and search for a character named "owner" instead. Im asking just exacly what the title says, any way to call a attribute inside an attribute calling or some way to make this faster wit another method?
This  attribute prefix trick  will do what you need. Short version replace "@{@owner}|Attribute}" with "@{prefix}@{owner}|Attribute}" and create "prefix" as "@{"
RainbowEncoder said: This  attribute prefix trick  will do what you need. Short version replace "@{@owner}|Attribute}" with "@{prefix}@{owner}|Attribute}" and create "prefix" as "@{" I wanna cry so hard, thanks to the creator of this universe for combinig quarks and cells to finish making you and your searching skills, where you live?(its a joke) i want to kiss you so hard that youll never kiss again, thank you so much AAAAAA!