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

Referencing repeating fields in macros

How does that work? I can't seem to get it to do anything.
you can only reference it within the same row.
So I can't make a character macro that references it?
1401496253

Edited 1401496285
Josiah B.
Sheet Author
Heilemann said: So I can't make a character macro that references it? I don't think so, but you could put a button in the line. I do that with my additional skills. it might be possible with the API though, but I'm no expert on that.
1401496431
Sam M.
Pro
Sheet Author
Call it like this: repeating_sectionname_x_attributename where X is the row starting at 0
Sam said: Call it like this: repeating_sectionname_x_attributename where X is the row starting at 0 I did not know that, but it requires you to know the row number beforehand.
1401498392
Sam M.
Pro
Sheet Author
It's as easy as counting the number of rows
1401498546
Lithl
Pro
Sheet Author
API Scripter
The number is not guaranteed to be the same. This is not recommended.
What is?
Sam said: It's as easy as counting the number of rows yes, you can do it, but it's not like you can make macros hard coded to elements.
Depends on the situation and system.