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

Making an actual Menu?

I like how roll queries can be done, and how they can include drop-down selection. However, I wonder... Is it possible to make a macro that brings up a popup menu similar to how the dice gui works, such that all your various roll queries are visible to the user rather than just happening sequentially? Is this possible through basic use of roll20? Or must I go to the API / Scripting / HTML / CSS to pull this off? Any insight from some of the experienced Gms here? Bonus points for generating a skeleton menu if it even IS possible.
1472732145
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
It's not possible at all (api or otherwise). The closest thing to a full GUI menu is using  ability / api command buttons to make a menu of buttons in the chat.
1472733461
Andrew C
Marketplace Creator
Nope. You can't, but you CAN use the Templates to build a link-list...
1472735048
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
And I suppose I should amend my previous statement. You can get behavior pretty close to what you are asking for using the API, but the interactive menus you can do with that are really nothing more than fancily formatted chat commands of API command buttons. The script can be set up to resend the menu with the updated options to chat after each click making it look like you are updating the menu.
Hmm yeah. I have tried a sequence of roll queries but without a handout to explain the final output of the macro it would take trial and error for a user to understand the macro. Next option is maybe a whispered set of command buttons that each alter an attribute in a character and a button to take all those attributes to do the actual macro but at that point it's a waste of time in my opinion. Maybe I can make an app or a webpage that serves my purpose and have it generate a template to paste to chat..
1472773593

Edited 1472773606
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
What are you trying to do? The community can be pretty inventive when you give us a challenge :)
1472775896
The Aaron
Pro
API Scripter
Sounds a lot like the mechanics of most spell templates on character sheets. Maybe that's a choice?
The Aaron said: Sounds a lot like the mechanics of most spell templates on character sheets. Maybe that's a choice? Yes, more than likely this could be achieved through a character sheet (I currently have the 5e shaped sheet selected but I don't really like how long/large the outputs can be from that sheet.) Ok let me post the shell of a macro that I have started on (it will likely get MUCH longer with more options etc) to show you sort of what I got going. I likely will have to have further nesting (for instance for the damage "Type" to add in what KIND of damage (piercing/slashing/necrotic etc)) &{template:default} {{name=@{selected|name} ?{Title of Template?|Melee,attacks!|Ranged,fires from a distance!|Spell,uses a spell!}}} {{@{selected|gender} does [[?{Number of Dice?}d?{Dice type?}+?{Modifier?}]] points of ?{Type of Effect?|Damage,damage!|Healing,healing!}}} 
1472790062
Andrew C
Marketplace Creator
I think it seems rather ambitious to be making a "Swiss army knife" action menu. I am nowhere near the best at macros, but building one with that many layers seems destined to be riddled with bugs.
I am always inclined to try to push the boundaries.  :)
1472846946
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Pikarus said: I am always inclined to try to push the boundaries.  :) If you want to do this through roll queries, I might suggest using nested roll queries rather than trying to have all the possible options pop up for everyone, after all that warrior doesn't care if he can add on spell syntax to the macro, he just cares about what he can do with a blade, hammer, axe, or shield and vice versa for the mage. The HTML replacements for doing that are a pain, but  I've got you covered on that . :)
That is some intense spreadsheet you have there *ogles*  I vastly appreciate the assistance. I am new(ish) to the roll20 platform (other than playing in two games which have been predominantly low-tech, with players rolling physical dice and having hard-copy character sheets) but as an experienced D&D 3.5e and Vampire: Dark Ages (pen-and-paper) GM (and a player of many more RPGs), and as a self-taught computer programmer, I intend to make the most of roll20's ability to (at least partially) remove the need for book referencing mid-session. I am considering picking up a few extra game books from other systems in the future in order to merge the systems somewhat (or at least steal from one ruleset to add to another).. Namely Warhammer Fantasy, Palladium, and Earthdawn. But first things first.... Learn2MacroLikeaBoss