Speeding Up Combat in Roll20 with the AutoButton API Script

  Рет қаралды 6,479

Nick Olivo

Nick Olivo

2 жыл бұрын

This video shows how to use the AutoButton Script in Roll20. Note that this requires a Pro account in order to use.
Prerequisite - TokenMod script, available from the Roll20 script library.
The script can be found here - raw.githubusercontent.com/oos...
The Autobutton Forum Post is here - app.roll20.net/forum/post/107...
The pictos font tables are here -wiki.roll20.net/CSS_Wizardry#...
The code I used in the video:
!autobutton --createbut {{name=Vulnerable}} {{content=t}} {{tooltip=Vulnerable (%)}} {{style=color: black; font-family: pictos custom; font-size: 2.1rem;}} {{math=-(damage.total*2)}}
!autobutton --showbut Vulnerable
!autobutton --createbut {{name=VulnerableCrit}} {{content=tt}} {{tooltip=VulnerableCrit (%)}} {{style=color: darkred; font-size: 2.1rem;}} {{math=-floor((crit.total + damage.total)*2)}}
!autobutton --showbut VulnerableCrit
!autobutton --editbut {{name=VulnerableCrit}} {{style=color: red;font-family: pictos custom;font-size: 1.5rem; padding-top:1px;}}
!autobutton --order 1,2,3,5,6,4
!autobutton --deleteButton Vulnerable
My Patreon - / nickolivo

Пікірлер: 61
@ademiranda2
@ademiranda2 2 жыл бұрын
Your videos never dissapoint. I owe having become Roll 20 literate solely to watching your videos. Great job!
@NickOlivo
@NickOlivo 2 жыл бұрын
Thanks for the kind words! Happy gaming!
@Tenkin211
@Tenkin211 Жыл бұрын
Thanks for these tutorials, they got me using API scripts. Hoping my players enjoy the changes as much as I do!
@NickOlivo
@NickOlivo Жыл бұрын
Glad they were helpful! Happy gaming!
@elrikmordner
@elrikmordner 2 жыл бұрын
This is nothing but awesome! Thank you!
@NickOlivo
@NickOlivo 2 жыл бұрын
Glad it was helpful! Happy gaming!
@nicolaeorengo20
@nicolaeorengo20 2 жыл бұрын
Bro I've been looking for something like for years, thank goodness. Can always count on ya to find the best scripts
@NickOlivo
@NickOlivo Жыл бұрын
Glad it was helpful! Happy gaming!
@JustIT69
@JustIT69 Жыл бұрын
This is so good. Thanks for posting.
@NickOlivo
@NickOlivo Жыл бұрын
Glad you liked it! Happy gaming!
@TheBierp
@TheBierp 2 жыл бұрын
Ooh, this is a nice one. Thanks for sharing.
@NickOlivo
@NickOlivo 2 жыл бұрын
Glad you liked it! Happy gaming!
@kidtruck9157
@kidtruck9157 2 жыл бұрын
Nice! Ive been looking for something like this
@NickOlivo
@NickOlivo 2 жыл бұрын
Glad it was helpful! Happy gaming!
@neepers
@neepers 4 ай бұрын
I've been D&Ding for 3 years and for the first time next week I'll be a DM for my group--and now I'm figuring out the tools on roll 20 which we've NEVER used and oh my god, completely changes things. Your videos are fantastic! So much appreciated: what you've helped with completely changes how we do incredibly slow combat. In fact, my DM avoids any large combat because of rolls, and all enemy mobs have the same turn because the pain from rolling every initiative is so time consuming. No longer! Anyway! Onto my point on this one: I've set up two macros that are available to all players. One is called -1hp and the other is -5hp. I also have -10, but I don't think it's really necessary. Was thinking those macros are faster than this tool. Anyway! Thanks for all your videos!
@NickOlivo
@NickOlivo 4 ай бұрын
Glad the videos have been helpful! Happy gaming, and good luck with your session!
@nightfr09
@nightfr09 Жыл бұрын
Its been a while since i last commented, but thanks man
@revelationmd
@revelationmd 2 жыл бұрын
Thanks. This is really helpful. I’m thinking rather than set up vulnerability buttons I may just click the usual damage button twice. Not tried it yet but it seems like that should work.
@NickOlivo
@NickOlivo 2 жыл бұрын
Sure, that works too. Happy gaming!
@hawkname1234
@hawkname1234 Жыл бұрын
Exactly
@thenannymoh
@thenannymoh 2 ай бұрын
mind blown
@I..cast..fireball
@I..cast..fireball 2 жыл бұрын
btw you can just click normal damage twice if vulnerable.
@NickOlivo
@NickOlivo 2 жыл бұрын
Well sure, but now you know how to make your own buttons :)
@sefnerr
@sefnerr 2 жыл бұрын
As always, very helpful Nick! Question; does this script only work with the D&D 5e sheet?
@sefnerr
@sefnerr 2 жыл бұрын
I just needed to read the script text/instructions on the forums; " The script comes with a preset for 5e by Roll20, but you can customize it to work with any sheet or roll template. If you need it to do anything tricky (like picking up spells & higher level casting on the 5e sheet), you will need JavaScript skills. But trickier operations aside, you can set the script up to watch for whatever roll templates and template properties you like. "
@NickOlivo
@NickOlivo 2 жыл бұрын
Glad you found what you were looking for! Happy gaming!
@I..cast..fireball
@I..cast..fireball 2 жыл бұрын
sweeeeeeeeeeeeeet
@ChrisCamp914
@ChrisCamp914 Ай бұрын
Love your vids. Been such a big help with spending more time storytelling and ease of use for my players. Having trouble Changing the font size on images Ive changed the values but is seems that only rollName font shows any diiference. "buttonShared: `background-color: transparent; border: none; border-radius: 5px; padding: 0px; width: 100%; height: 100%; overflow: hidden; white-space: nowrap; position: absolute; top: 0; left: 0; text-decoration: none;`, crit: `color: darkred; font-size: 1rem; line-height: 2.3rem; text-shadow: 0px 0px 2px black;`," changed the value for crit font size as a test and no results.
@NickOlivo
@NickOlivo Ай бұрын
Roll20 made some changes to roll templates after this video was released. The last entry in this forums post shows how KeithCurtis was able to adjust the font size. Hope that helps, happy gaming! app.roll20.net/forum/post/11548051/autobutton-weirdness-big-buttons/?pageforid=11564935#post-11564935
@Dude80525
@Dude80525 11 ай бұрын
I just recently found your videos and it now it's like crack to me! I cannot get enough! LOL. Question: How can this be applied to attacks/spells that use Token Actions?
@NickOlivo
@NickOlivo 11 ай бұрын
Glad the vids have been helpful! Can you elaborate on the scenario you've got in mind?
@Dude80525
@Dude80525 11 ай бұрын
@@NickOlivo I thought it would be easier to uplaod a video showing you the issue, but youtube doesn't let me add a hyperlink to it?
@Dude80525
@Dude80525 11 ай бұрын
kzfaq.info/get/bejne/mLWmm7KE28van6s.html
@NickOlivo
@NickOlivo 11 ай бұрын
I think it's because the AutoButton script only fires when a roll comes in using the atkdmg, dmg, npcfullatk, or npcdmg roll templates. Try changing your macro to use one of those instead of the Default template and see if it fixes it.
@samb8243
@samb8243 2 жыл бұрын
Thanks for the great tutorial Nick! My combat will definitely benefit from this streamlining. I did notice a little error in the code you posted. Shouldn't it be {{tooltip=Vulnerable (%)}} instead of {{tooltip=VulnerableCrit (%)}} when creating the 'Vulnerable' button?
@NickOlivo
@NickOlivo 2 жыл бұрын
Whoops. Good catch, Sam! Thanks for watching!
@samb8243
@samb8243 2 жыл бұрын
@@NickOlivo No worries Nick, thanks again for the great content! I did have one more question. I tried to edit the 'VulnerableCrit' button with the code you added: !autobutton --editbut {{name=VulnerableCrit}} {{style=color: red;font-family: pictos custom;font-size: 1.5rem; padding-top:1px;}} But the character for autobutton changed to a red 'J' letter instead of the other character previously used. Is this due to it not being a 'pictos custom' character as written in the code, but a normal one?
@NickOlivo
@NickOlivo 2 жыл бұрын
Dang, I need to get more sleep. Change the J to tt and you should be good. Sorry about that.
@benfoshee1899
@benfoshee1899 4 ай бұрын
Is there a way to setup buttons to do only one part of damage from a creatures attack? Ex: A creature does 1d6 slashing and 1d6 necrotic against a Barbarian character. The Barbarian is in a rage and has resistance against slashing - what would the code be for making sure the barbarian gets all of the necrotic and half of the slashing? So there would have to be buttons for all damage1, half damage1, all damage2, half damage2.
@NickOlivo
@NickOlivo 4 ай бұрын
I'm not aware of a way to do that, sorry. Your best bet would be to post over in the Roll20 forums - app.roll20.net/forum/category/46806
@agitadora60
@agitadora60 2 жыл бұрын
Can this be applied to multiple targets?
@NickOlivo
@NickOlivo 2 жыл бұрын
Yep, it can. Happy gaming!
@ethankellerman2932
@ethankellerman2932 Жыл бұрын
now i like to put my health into the 3rd bar for "red HP" how do i change the script so that it still applies?
@NickOlivo
@NickOlivo Жыл бұрын
Hi Ethan! I think you can do that by changing line 26 of the script to read hpBar: 3, Best of luck, and happy gaming!
@ethankellerman2932
@ethankellerman2932 Жыл бұрын
@@NickOlivo thanks so much!
@johntrollinski8549
@johntrollinski8549 Жыл бұрын
Just had this problem myself, changing the line did not work for me. If you still have the problem or for anyone wondering, this command will resolve the issue: !autobut -hpBar / --bar
@CucoNY
@CucoNY Жыл бұрын
@@johntrollinski8549 where do you place this
@alexphipps352
@alexphipps352 Жыл бұрын
This would also be super useful if it did it on all attacks
@NickOlivo
@NickOlivo Жыл бұрын
When you say "all attacks" do you mean so the players could automatically apply damage that they'd taken to their tokens?
@alexphipps352
@alexphipps352 Жыл бұрын
@@NickOlivo No sorry. Badly formatted. So it would work with not just spells. So attack from all weapons'
@malistair7476
@malistair7476 3 ай бұрын
Sir, not sure what I am doing wrong, but when I attempt to add a button with your instructions and even with the autobutton create feature I get no results. It seems to be bugging out at the math section. Can you assist?
@NickOlivo
@NickOlivo 3 ай бұрын
Hi @malistair7476 - your best bet will be to post over on this forum, and the folks there should be able to help - app.roll20.net/forum/category/46806 Best of luck, and happy gaming!
@benfoshee1899
@benfoshee1899 Жыл бұрын
Is there a way to make a button that effects temp hp?
@NickOlivo
@NickOlivo Жыл бұрын
I don't think the script supports that, sorry.
@benfoshee1899
@benfoshee1899 Жыл бұрын
@@NickOlivo No worries, I made a button for chat-set attr to effect temp_hp and just type in the ammount of damage it did, then it whispers to me how much damage is left over after it takes away the temp hp to let me know how much to take off of HP and I just press the button again to do the remainder to actual HP
@MrNhoj509
@MrNhoj509 Жыл бұрын
Is this 5E specific?
@NickOlivo
@NickOlivo Жыл бұрын
As far as I know, it is.
@godsdemon7441
@godsdemon7441 Жыл бұрын
My only disappointment is this is for DnD.
@NickOlivo
@NickOlivo Жыл бұрын
You can always contact the script's author and see if they can add support for that system
Auras, Concentration, & Corpse Removal in Roll20
13:14
Nick Olivo
Рет қаралды 5 М.
Detecting Good, Evil, and Magic with the Radar API
18:43
Nick Olivo
Рет қаралды 4 М.
That's how money comes into our family
00:14
Mamasoboliha
Рет қаралды 7 МЛН
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 38 МЛН
LOVE LETTER - POPPY PLAYTIME CHAPTER 3 | GH'S ANIMATION
00:15
Каха ограбил банк
01:00
К-Media
Рет қаралды 11 МЛН
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 690 М.
Streamlining Combat with the Encounter Helper API in Roll20
11:18
Setting Up Traps in Roll20 using the It's a Trap API
11:19
Nick Olivo
Рет қаралды 6 М.
Level up your Roll20 game with DND 5E Wildshape API
10:44
Role Player Roll
Рет қаралды 654
Why I Cant Stand IDE's After Using VIM | Prime Reacts
17:51
ThePrimeTime
Рет қаралды 273 М.
100+ Linux Things you Need to Know
12:23
Fireship
Рет қаралды 592 М.
Roll20 API scripts  (Apply Damage and Group Check)
10:35
kagemwf
Рет қаралды 2,6 М.
3 Tips to Speed Up Gameplay in Roll20
8:37
Nick Olivo
Рет қаралды 4,6 М.
ФРАНКЛИНДІ ЗҰЛЫМ ҮЙ ЖЕП ҚОЙДЫ (GTA V)
19:41
😱 Майнкрафт, но Мы Сразились с СУПЕР БОССАМИ + Фиксплей
32:58
MrLololoshka (Роман Фильченков)
Рет қаралды 1 МЛН
Я ВЗЯЛ МАН ЮНАЙТЕД НА 10 СЕЗОНОВ...
30:20