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

FFD20 and Group API

Hello I am trying to use Group API I can get it to roll but it will not take any of the Initiative bonuses Anyhelp would be great I've been bashign my head against the wall for a few hours.
1645817674
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Do you mean Group Init? Are you loading from the One Click version (there was a breaking change in the Roll20 base code a few weeks ago). What sheet are you using?
Yes sorry! I am running the FFD20 system. It is called Final Fantsay D20 sheet under the pathfinder group.
Is there any other information I can assist with ?
1. What do you get if you run the help/state information command? !group-init --help 2.  keithcurtis said: Are you loading from the One Click version (there was a breaking change in the Roll20 base code a few weeks ago)?
I just got the ability to add it to the game I may have done the one button one but it was eariler today so Im not sure if its the one click version? RIght now the Helpshows what it dose when you load into it?
There are three ways to load an API script. On the API page (outside of the game where you load API scripts): 1.Clicking on ‘Script Library’ and selecting one from the ‘One-Click’ drop down menu, and then clicking on the blue ‘Add Script’ button 2.  Clicking on ‘Script Library’ and selecting one from the ‘One-Click’ drop down menu, and then clicking on the  grey ‘Import’ button.  3. Clicking on ‘New Script’ and pasting an API script code into the command window.  If you load a script using method 1, then it will automatically get updated when the script author makes changes, and will always be the latest version of the script (within a week - scripts get pushed on the Roll20 backend usually every Tuesday). If you used the ‘Import’ feature it’ll be the most recent version of a script, but won’t get updated automatically. And if you paste API code into the ‘New Script’ command window then you’re getting whatever version you upload and it won’t get updated automatically.  It would be helpful if you post a screenshot or cut and Kate the text in the chat window that appear when you run the Group Initiative help command so we can see how it is configured. 
Oh! I did the 1st one as it seemed the easiset
So the roll I did should have done dosen't pull bounuses it's only the die
Anything usefull there?
1646230990
Kraynic
Pro
Sheet Author
Your bonus stat group is shown there as initiative|current.  That means it is looking for an attribute named initiative to add to the dice roll.  Is that the correct attribute name on that sheet for your initiative modifier?
Yes here is a copy of a character sheet.
I figured it out. In the character sheet it's called initiative but in attributes its called intit-total so I was calling from something that didn't exist! Im so sorry I took so long ot figure it out thanks everyone! I will leave it up just in case someone googles and finds this page. To use it with the FFd20 pathfinder sheet as of 3/3/2022 your line of code should be  !group-init --add-group --bare init-total