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

Possible to make "Ability Command Button" that references Abilities not on the character sheet?

I've been working around workarounds and workarounds all day trying to figure out how to make a clean way to roll reckless casting for an Invention Wizard without having to either have all of the spells in my attacks list or just search each one every time I want to cast one.

So far I thought that I could set up a macro that would output a list of Ability Command Buttons for each spell with a nested d10 roll at the bottom or a pair of d10's for spell slot uses.

Many hours into the project and I'm starting to think that there is no clean way to play inventions on Roll20.  Unless there's a way to make a custom list of abilities or a table or something that I could keep as a handout.

I dunno, I'm just flumoxed here.  I'm like 5 iterations in on trying to solve this problem and it's beating me.

Any help would be appreciated.
February 02 (7 years ago)
The Aaron
Pro
API Scripter
Are you talking about abilities on some other character's sheet, or do you mean macros?
February 02 (7 years ago)

Edited February 02 (7 years ago)
I mean a macro that references an ability that doesn't exist on my character sheet.  That's the ideal anyway.

What I mean is I have a list of abilities that I "can" cast on a d10 roll.  I don't want to have to input every ability into my sheet and instead just have some what to have an ability button that I can click on that just activates that skill out of the database.  It doesn't seem like that is possible without inputting each item into the character sheet individually or custom writing out each ability into a macro and then just referencing that macro for the button, but I'm hoping there's an easier way.
February 03 (7 years ago)

Edited February 03 (7 years ago)
Unfortunately, it's not possible to directly call a spell from the Compendium.

I would probably handle this by adding as many of the 54 spells are needed to a separate Character Sheet and calling them via Ability Command Button. With the help of an API Script, it would be furthermore possible to conditionally output the relevant API Command Buttons. (API access requires a Game's Creator to have an active Pro subscription.)
Thank you for your advice.  I think I know what I have to do now.  It's not as pretty as I'd originally envisioned it, but it's far far less scripting.  So upside/downside.
February 03 (7 years ago)

Edited February 03 (7 years ago)
Hi!
I have a similar problem/wish, but easier. I want to have something like an Ability Command Button within the output in the text chat, but not a spell, but simply another (global) macro. Example: I have a macro for rolling Perception checks of all characters at once. Now I have a macro rolling for a random encounter and within the output of that macro I would appreciate to call for the "Roll Perception" macro.
The only workaround I found so far is the cumbersome way of creating a character sheet with a token and adding the "Roll Perception" macro as a n action there. Then I have to have the token associated to the character sheet on the map, select it and roll.
Any help? If that's impossible I really would like to have it as a change request!
It would look like that:
And the appropriate macro text:
/w gm &{template:npcaction} {{rname= Encounter}} {{name= Terrain}} {{description=Terrain: [[1t[Encounter-Terrain]]]
Illumination: [[1t[Encounter-Illumination]]]
[Perception](~All-Perception)}}
with the global macro "All-Perception".

Thanks & best regards,
Bernd
February 03 (7 years ago)

Edited February 03 (7 years ago)
Hi, Bernd S. You can call Global Macros using API Command Buttons. e.g.
[Perception](!
#All-Perception)
What I'm going to end up doing is make a separate character sheet called "Arcanomechanical Armor" On that sheet I'll have all of the spells and the macros for reckless casting so they can call directly from that sheet and not require the API functions.  Since I don't have access to them in the campaign I'm in.