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

Help with drop down macro

1585591295

Edited 1585592537
What am I doing wrong here? I want to be able to select the weapon from the drop down table and roll the table for the rest of the properties. Here is my code: &{template:npcaction} {{rname= Choose Weapon}} [[?{Which Weapon|Bastard Sword|Battleaxe|Broadsword|Club|Cutlass|Dagger|Elven Longsword|Flail|Glaive|Greataxe Greatclub|Greatsword|Handaxe|Halberd|Hand Wraps|Light Hammer|Longsword|Lucerne Hammer|Mace|Maul|Pike|Quarterstaff|Rapier|Scimitar|Short Sword|Sickle|Spear|Straight Sword|Trident|Warhammer|War Pick}W?]] [[1t[MagicMeleeWeapons]]] }}
1585593126
The Aaron
Roll20 Production Team
API Scripter
That will result in something like this in chat: &{template:npcaction} {{rname= Choose Weapon}} [[Short SwordW?]] [[1t[MagicMeleeWeapons]]] }} Which isn't valid.  I don't know how to construct what you're after, but I know that a problem on the road to the solution.  You will likely run into some order of operation issues with the expansion of Roll Queries and inline rolls and such.
Ok Thanks.