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

dnd5e character sheet class actions

I can't seem to call my class abilities. The macro stuff I found in the documentation I couldn't get working.
This might help. <a href="https://app.roll20.net/forum/post/1700543/new-clas" rel="nofollow">https://app.roll20.net/forum/post/1700543/new-clas</a>...
1426197357
Actoba
Pro
Sheet Author
If you are still having issues post some more details about what you arwe trying to do (data you are entering in fields, screenshots, or something like that). I'm sure we'll be able to help you out
Actoba, thanks for helping out. I am trying to set up some API on the "Used" and "Max" data fields but can't seem to figure out the correct naming convention. Can you identify the string I need to use for those fields?
@Chris - The attribute is "classactionresourceX" where X is the row number. The max is "classactionresourceX_max" where X is the row number. Thanks Kevin
1426714014

Edited 1426714131
Actoba
Pro
Sheet Author
The two fields are actually only 1 attribute - classactionresourceX - where X is a number currently between 1-20 corresponding to the row For using in the API the used field is the current property of the object and the max field is (surprisingly enough) the max property. See the API attribute definition on the wiki for more info - <a href="https://wiki.roll20.net/API:Objects#Attribute" rel="nofollow">https://wiki.roll20.net/API:Objects#Attribute</a> For those using it in a macro you can get access to them like this - @{classactionresourceX} @{classactionresourceX|max} (although i believe @{classactionresourceX_max} works too)
Actoba, thanks for the clarification on the use of max, I forgot about that.
Same problem here. I'm trying to call a draconic breath for a characther named Iorves. I want a ability to call it, in order to put it on the quick macro menu. So for, I'm trying the following: %{Iorves|classactionresource1} @classactionresource1 And a lot of variations of those. Can someone point me the correct way to input the action on the macro? (The action is working fine on its own)
1430684813
Kryx
Pro
Sheet Author
API Scripter
Actoba said: For those using it in a macro you can get access to them like this - @{classactionresourceX} @{classactionresourceX|max} (although i believe @{classactionresourceX_max} works too) Use the @ sign, not the %
Thank you for the reply Mark. But @Iorves|classactionresource1, @{ } and @[ ] don't work. Neither @classaction and the other variations. Since the weapon action works with %{Iorves|MeleeAttack1} I thought it would work with something similar for actions. But none of the entrys worked for me. The dragon breath is coded as: [[2d6]] Ice damage DC [[ 8 + @{constitution_mod} + @{pb} ]]
1430690240
Kryx
Pro
Sheet Author
API Scripter
Resource is just the current/max of the class action. Try %{lorves|classaction1} if you want to roll the action usage. Works for me.
Didn't work too... Anyway, since it don't happen often, I'll just ask the player to roll the damage manually. I started using the program today, lots of major stuff to care before I work on the details. Anyway, thank you for your time and answers. If some solution appears, I'll post it.
1430731136
Kryx
Pro
Sheet Author
API Scripter
I could check if you invite me to your campaign.