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 .
×
May your rolls be chill this holiday season!
Create a free account

Menu for Roll Templates

1525333391

Edited 1525333446
Is there anyway to create a menu for multiple roll templates? I'm messing about with Roll Templates in the Star Wars Saga Edition character sheet and making force powers. Is there anyway to through all of the templates of "Dark Side" powers under a menu called "Dark Side" so when I select it I can select a Dark Side descriptor power, like Force Lightning, to be rolled? Then use the same menu on a different turn to roll a different dark side descriptor power like Dark Rage? Below are the templates I have for both power examples. The first is Force Lightning, and the second is Dark Rage. The +21 bonus is because I couldn't figure out how to get it to rip the data from my character sheet automatically, and so I just put his current UTF bonus in the template. &{template:sagadefault} {{header=Force Lightning [Dark Side]}} {{subheader=Use the Force v. Reflex hit deal damage and move target down condition track once, if miss deal half damage;}} {{type=power}} {{skillname=Use the Force}} {{skillcheck=[[1d20+21+?{Other Modifiers|0}[Other]]]}} {{Hit Reflex=[[8d6]] damage}} {{Force Point= Move target down condition track one more time}} {{Unleashed= Target everyone in 6 square radius}} &{template:sagadefault} {{header=Dark Rage [Dark Side]}} {{subheader=Use the Force roll to gain attack & damage bonuses until end of turn;}} {{type=power}} {{skillname=Use the Force}} {{skillcheck=[[1d20+21+?{Other Modifiers|0}[Other]]]}} {{less15=Nothing happens!}} {{more25=Gain +6 on melee attack rolls & damage rolls!}} {{20=Gain +4 on melee attack rolls & damage rolls}} {{15=Gain +2 on melee attack rolls & damage rolls}} {{Force Point= Extend duration to end of encounter}} {{Unleashed= Bonuses are +10 to attack and melee}}
1525378747

Edited 1525378797
GiGs
Pro
Sheet Author
API Scripter
If you are using a custom sheet, and can edit the character sheet, you can set this up in multiple ways. But if you are using a pre-built sheet, the only way I can think of, is if the sheet already has two separate roll templates built in. You can then write the macro to choose between them. (Edit: i may have misread your question.) By the way to get a stat value from a sheet, use @{NAME|ATTRIBUTE} or @{selected|ATTRIBUTE}. The words in all caps need to be grabbed from the character sheet. NAME here is the character's name as shown in the journal.
Basically i'm trying to group multiple macros under a single macro, and that single macro is a drop down menu with all of the other selectable macros. Way too complex for my limited skills in HTML.
You can make a macro that whispers to the character a bunch of chat buttons, each of which will call a macro.  Make the button macro your menu, calling your powers.
1525427280
Ziechael
Forum Champion
Sheet Author
API Scripter
I just responded to another thread on a similar subject with the following, the information in the linked threads should help you on your way and ease your burden somewhat :) It can be done... to a certain extent and with some hoops to jump through. Your best bet is to have all your spells set up as standalone macros but use a nested menu of dropdown queries to send a button to the chat for a player to click on to cast the spell. When you get into the realms of nesting the macro text itself in queries you increase the complexity many times over. Here are a couple of threads where I've discussed this subject at length including examples on how I handle it plus some suggestions for how I'd do it if I were to start over (I'm 3.5 years in now and way too deeply ingrained to redo my system lol): <a href="https://app.roll20.net/forum/post/5148828/can-you-" rel="nofollow">https://app.roll20.net/forum/post/5148828/can-you-</a>... <a href="https://app.roll20.net/forum/post/5982183/3-dot-5d" rel="nofollow">https://app.roll20.net/forum/post/5982183/3-dot-5d</a>...