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

Drop down menu that lists one @selected and outputs another @selected

1515203053

Edited 1515203174
Old School Fool
Sheet Author
Hey everyone, I'm curious, i was working on a macro that would do a drop down of @selected repeating powers and output the original @selected (power name)and the @selected power description, (using the default template) Im adding a button to the bottom of one of my macros that you could click to get a power description if needed. The trouble i ran into was that while i could get it to work, it would not output the entire portion of the text listed in the power description. The macro needs to have 6 different drop downs all calling 6 different repeating powers names and descriptions. The only solution i have found is using 6 separate buttons, which is terrible lol. with 6 different macro calls this is the single macro i have at the moment /em &{template:default}{{ ``@{selected|repeating_Powers_$0_Power_Name}`` }} {{[ ]([[0]]) @{selected|repeating_Powers_$0_description}}}
i actually figured out why my macros were only outputting portions of the spell descriptions. Commas in the text! stopped the output ! Anyway now i know lol