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

Group of questions

  I’ve a few questions and figured that it would be best to ask’em at one time. Quick Project Rundown- Setting up a system in Roll20 and taking it as far as I can before upgrading my account. So everything is being built with out a Template/Character Sheet, so all values are being housed in Attributes.                (1)  Macro Set up- Is there a better or more efficient way that I’m missing? I’ve written out all of the macros. Almost all of them utilizing @{Selected|X} & @{Target|Y} for each ability (Roughly 240 Class Abilities give or take) and have them placed in Collections and then I have them grouped into their respective classes in Collections via the queries. Then place the Query Macro from Collections into the character sheets.     Macro Example   (I'm in the middle of moving these into the Default Templates now) /em uses Back Breaker Cost: 24 Stamina Attack Prof 14< [[1d12!! + @{Selected|AtkProf}]] /em aims at @{Target|Name} Accuracy [[1d12!! + @{Selected|Accuracy}]] vs Dodge [[1d12!! + @{Target|Dodge}]] Physical Damage [[1d12!! + @{Selected|RHPDmg} + @{Selected|Might} +10]] vs Toughness [[1d12!! + @{Target|PDef} + @{Target|Toughness}]] [[d12cs>12]] if successful Immobilize target for 2 Rounds               (2) Calling Nested Macros via queries Since Queries can’t be called inside of another query, would it be possible to build it the macros like I have in the example above into a Nested Macro and have the query call it? Some abilities like Stances have different levels that can be chosen, Chat Menus were suggested, but player consensus was to keep them as buttons on their token.                (3) Targeting multiple enemies Is there a way to target multiple enemies in an area? There’s a good number of AoE abilities, and it would become a little cumbersome to run the macro every time.                 (4)Abilities that affect Attributes This one I’m figuring will probably only be possible using API scripting, but for abilities that increase or decrease Attributes for x amount of rounds, is there a way for it to change the values in Attributes or is it just something that will have to be done manually?                (5)Group Initiative at top of turn Pure curiosity, is there a way to reroll the initiative for everyone in the turn order?                 (6) Determining Degree of Success For things like Attacking and certain skill checks do opposing rolls, is there a way to set the Target's roll as the target score to determine a degree of success? Less than the roll resulting in a negative degree, equal being 0 and more resulting in a positive degree.         Example: Things like Accuracy vs Dodge, Stealth vs Perception I appreciate any help, If I'm doing things in a dumb manner, please let me know! edit 1: Fixed Macro, edit 2: Tried to clarify things a bit, edit 3: Added question 6
1635616326
The Aaron
Roll20 Production Team
API Scripter
no idea - someone else might be able to answer this? probably possible with html escaping, it's is thing the devs are working on now, so maybe with escaping soon Not without the API Not without the API Not without the API Probably not without the API
Ah, so about the answers I'd figured, I appreciate the help Aaron. Seems I'll have to get the Pro subscription going sooner rather than later then.
1635622482
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
I'll add in that what you're doing is probably better done with a full character sheet build. So, to answer your questions from that perspective: Macro set-up Creating a custom character sheet would allow you to define repeating sections for abilities, attacks, skills, whatever. These would have templates of attributes that need to be filled out or referenced, which would allow the player to enter the data that they need for their character. Additionally, roll buttons and more recently custom roll parsing would allow those attributes that were entered to be used in rolls, and even determine what is rolled both on a simple level (2d20 instead of 1d20 as an example) and a complex level (roll 3 attacks instead of 1). Nested Macros The sheet code could auto generate either a chat menu for each repeating section, or using the new custom roll parsing capability the sheet could iterate through a string of queries to determine what the player wants to do. This would replicate the nested queries without needing to bother with escaping Targeting Multiple Enemies Similar to #2, the custom roll parsing ability to iterate through queries and options would allow the sheet to ask for the number of targets before asking the player to target them with @{target} calls Abilities that affect attributes The per rounds part of this is most likely API only, but the ability to toggle buffs/debuffs to attributes is possible with a custom character sheet. I did something similar for the Starfinder by Roll20 and Genefunk sheets This would likely require the API, and most likely Aaron's groupinitiative API, or perhaps the Combat master API Degrees of success and opposing rolls This is possible several ways depending on the exact mechanic for determining degrees of success. In order of their capability to handle complex mechancis: Clever macro assembly Custom Sheet with a complex Roll Template Custom Roll Parsing (can handle the most complexity) Hope that helps!
Thanks Scott, yeah, I know it'd be much easier to accomplish everything how I want with the Character Sheet, but that option isn't feasible at the moment. Still working on that bit now, around 1150 hours now I believe logged.  Is definitely useful information for when I do acquire the Pro Subscription, I'll certainly be bookmarking this for future reference to myself.
1635629323
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Just to chime in on pt. 1. I try never to build automation into Collections anymore. A  Macro Character Sheet  is almost always a better choice. More forgiving syntax and much greater portability.