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

Displaying Text from choice macro

Hey there guys so I've just been getting into the macros used on roll20 and I've been working on implementing them on a couple of my characters. I haven't been having any problems that I couldn't solve so far, until I reached spells, specifically the spell  Alter Self . The way that I wanted my macro to work was so that I could click on it, then choose from the three options and only display the part of the spell description from the one I chose. For example, say I wanted to be able to use the Natural Weapons portion of Alter Self, I would only want the natural weapons description to pop up instead of all 3 descriptions. (For reference I am a f2p player in my game since I know that changes some things.) Anyways, if anyone knows the answer to my problem if they could post a reply or at least a reference to another page with the solution on it would be much appreciated. Thanks! Image of Macro:
1561772519
Kraynic
Pro
Sheet Author
The simplest would probably to create a macro for each version, and then use a chat menu macro that gives you the option of which one to call.&nbsp; <a href="https://app.roll20.net/forum/permalink/5927072/" rel="nofollow">https://app.roll20.net/forum/permalink/5927072/</a>
1561776600

Edited 1561779160
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Part of the problem is the inability to parse multiple commas in a drop down. If you replace the commas in the description text with say, hyphens, you can try this: &amp;{template:default}{{Gil=Alter Self}}{{School=Transformation, 2nd Level}}{{Option Chosen=?{choose an option|Aquatic Adaptation,You adapt your body to an aquatic Environment- sprouting gills and growing webbing between your fingers. You can breathe Underwater and gain a swimming speed equal to your walking speed.|Change Appearance,You transform your appearance. You decide what you look like- including your height- weight- facial features- sound of your voice- hair length- coloration- and distinguishing characteristics- if any. You can make yourself appear as a member of another race- though none of your Statistics change. You also can’t appear as a creature of a different size than you- and your basic shape stays the same; if you’re bipedal- you can’t use this spell to become quadrupedal- for instance. At any time for the Duration of the spell- you can use your action to change your appearance in this way again.|Natural Weapons,You grow claws- fangs- spines- horns- or a different natural weapon of your choice. Your unarmed strikes deal 1d6 bludgeoning- piercing- or slashing damage- as appropriate to the natural weapon you chose- and you are proficient with your unarmed strikes. Finally- the natural weapon is magic and you have a +1 bonus to the Attack and Damage Rolls you make using it.}}} EDIT: Alternatively, you could replace a comma with a cedilla:&nbsp;¸ a Unicode character that looks much like a comma, though it sits below the baseline.
Thank you both! I think that I have it now, hopefully it works over the transfer!