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

Can't Figure This One Out - Using Row Reference In A Dropdown

1590374621

Edited 1590374648
I can't seem to get this to work. It does doesn't seem to resolve the second part of each option. Instead, it comes across the pipe within it and thinks it is another option. ?{Choose skill| @{selected|repeating_skills_$0_Skill_Name},@{selected|repeating_skills_$0_Skill_Roll}| @{selected|repeating_skills_$1_Skill_Name},@{selected|repeating_skills_$1_Skill_Roll}} So I see the following options in the dropdown: Climbing repeating_skills_$0_Skill_Roll Stealth repeating_skills_$1_Skill_Roll Also, while I am here, is there any automatic way to select the right number of skills, or would I manually need to adjust the dropdown based on the number of skills in the list of skills?
1590389418
GiGs
Pro
Sheet Author
API Scripter
This happens when the name isnt recognised as a valid attribute. When you run this, you probably also get a lot of messages in chat like  No attribute was found for @{selected|repeating_skills_$0_Skill_Roll} Check that Skill_Roll is the correct name for that attribute, and that it has a valid value.
Thanks, again. It was skill_roll_target. Skill_roll was generated by pulling a button off a sheet. I have a feeling it is a roll from the roll template. I'll figure out how to manipulate that in due time.
1590450093

Edited 1590450125
Oosh
Sheet Author
API Scripter
It might be an Ability and not an Attribute, you could try % {selected|repeating_skills_$0_Skill_Roll} just as a stab-in-the-dark (% instead of @).
1590471670
GiGs
Pro
Sheet Author
API Scripter
Yes, Oosh is right - if it was from a button, it's an ability, which you can access using the % syntax.