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
This post has been closed. You can still view previous posts, but you can't post any new replies.

Macros - Ability Reference - adding a "this" reference

When creating characters and adding abilities it is not unheard of wanting to reference abilities in the same character. Wouldn't it be nice if, instead of doing this:
%{Bugbear|attack} // example borrowed from https://wiki.roll20.net/Macros#Nesting_Abilities
... you could do something like this:
%{this|attack}
...?

Then if you have a lot of characters that need the same functionality, you can just duplicate them and it will work as is. Right now I would have to go through each duplicate and retype the target character in my abilities. Also if for some reason the character changes its name during play it would break the abilities, whereas "this" would just resolve to the current correct name.
June 19 (11 years ago)
Lithl
Pro
Sheet Author
API Scripter
Or just be like attributes and allow you to omit the character name entirely from within attributes/abilities.
June 20 (11 years ago)
Sam M.
Pro
Sheet Author
Isn't this basically what "selected" does
June 20 (11 years ago)

Edited June 20 (11 years ago)
Lithl
Pro
Sheet Author
API Scripter
Selected requires having a token selected. As far as I can understand, Steven is talking about nesting abilities, and you don't necessarily want to have an ability that requires selecting your token in order to work.
Yes, Brian is on the money. It would indeed be nice being able to omit the character reference entirely if you are targeting the same character from which you a referencing.
June 20 (11 years ago)
The Aaron
Roll20 Production Team
API Scripter
This would be great, particularly for macros in character sheets. It's a bit frustrating when you want to do a perception check in a scene where you don't have a token on the page, such as if you're in overland movement and have a "whole party" token.