You don't just skip over anything, you don't briefly show the commands onscreen and expect the viewers to pause it, you don't even try to speed certain parts up. You have the whole tutorial set out for everyone to see. There are few people who make tutorials as good as this one. Thank you.
Damn dude, I was turning blind just trying to understand Roll20 doc on macro, you just pop on youtube explaining like a chad, comprehensively, what I need to know. Thanks pal !
This is brilliant! Super clear and concise. It moves you through in a step by step, and covers exactly what you need. I picked up some great skills here, which will improve my game enormously. Thank you!
Took me an hour of watching drag and drop macro videos before FINALLY finding one that would just explain how to write my own. Thank you so much fornsuch an insightful video. Much appreciated
How do you go about putting a query into a query? E.g. when my character is within 30ft he gets various bonuses. So the first query would be "=< 30ft" then if the answer is yes it can ask "are you using sneak attack?" YES, 3d6| NO, 0 and then have the first questions "no" also be "0"?
@@andyevans8585 That's possible, but the syntax is kinda ugly. This video shows using nested queries to create a healing potion macro, you could use that as the basis for what you're looking to do. ruclips.net/video/_TUrDnOYx78/видео.html Best of luck!
bless you for typing these out. I've been running a game for first essential workers and military, and roll20 is new to me so I've had to crash self train. You guys have been a godsend. Other videos just show them in the vid, and the only way I could read them was to stream it to my wide screen tv, pause, and then write it down. Oy.
OMG, words alone cannot express how much I wish to thank you for this video. I just became a user of roll 20 and bought my subscription and have for the last two days been banging my head against the wall trying to figure out almost exactly the format you have been using. Trying to find anyone to give out information as to contact and syntax as to how to create macros in this way is almost damn near impossible! Thank you thank you thank you thank you thank you!
Entered here from a Life Domain Cleric perspective, knowing nothing about macros. Now I fell like a PRO. Very good video. Straight to the point, comprehensive and informative. Ty very much.
Now this one here, Is the best and only real explaining video of how to make macros in Roll 20. Thanks bro, you are the hero we need AND the hero that we deserve.
Thank you for such a great tutorial video. This is exactly what I needed to see to get a better understanding how R20s macro's work at their basic level. I will need to look and see if you have something like this for the API. Again, fantastic video.
Thanks for all the great videos. I am new to Roll20 and these have helped me immensely. I used this video to build a macro to roll secret perception checks for the party with built in perception modifier instead of just using the Passive Perception score.
Thanks a lot Nick, as always a fantastic Macro and a succinct and helpful delivery! the best channel ive found for Roll20 macros and scripts, my players love that overland map with built in handout. I look forward every week to what you have to offer!!
OMG this is what I've been looking for, so many copy paste macros on the web but I couldn't figure out how they are formatted, thanks!!! Subbed liked and belled
You don't need a macro for the Life Cleric's *Cure Wounds.* When you go to the Cure Wounds spell in your OGL sheet's _Spells_ tab, edit the spell and simply add the bonus. So for the _HEALING_ amount you set it to 1d8+3 (+2 for life cleric, +1 for first level spell). Then for your _HIGHER LVL CAST DMG:_ you set it to 1 *d8* + 1. This automatically adds the +1 bonus per spell level that you cast it at a higher level.
Thanks so much for this! The healing potion macro is really helpful, especially with a party that didn't pick any healers, so potions are a bigger part of the game. I edited your macro for Cure Wounds, simplifying it to just a "additional healing/disciple of life" macro, since the bonus applies to any healing spells cast. It's almost too simple to need a macro, but it's more a reminder to add the bonus regardless. A tip for macros like the Party Health - I had to go back and fix character names a few times that didn't work - turns out one had a space at the end, and one had a space before his first name, so it was difficult to see why the names weren't matching up. I know you said you need to make sure the characters' full names are written in the script for the macro, but that was an extra hidden challenge I didn't expect. 20 min of my life I won't get back :)
So I thought I would know everything about macros in roll20. Seems I was wrong, thanks for all those great, well-explaned videos with inspiring ideas! :)
Love this Nick. I implemented the Healing Potion macro already in my game for the players to use this Friday night. To Wayne Francis's point previously posted below, it also is giving me a few ideas to use this macro concept for other things. As always, thanks for the awesome video!
This is what a Tutorial Video looks like when the presenter has worked out in advance what they are going to say, STICKS TO IT, and doesn't have to keep skipping about because they forgot something they had planned to say or suddenly remembered something they SHOULD have said. (ETA- but neither does it sound like he's reading from a script) There are so many of these, where if you are not paying ABSOLUTE attention to every moment and taking notes you can suddenly miss that the presenter said, "Oh, and I need to show you THIS" and there is a segue into something unrelated... at which point you get lost. It also goes through the stages of showing you WHY the things you might try on your own, don't seem to behave like the ones you se other people using. I'm fairly certain Nick has spent some time teaching or training. Gradual repetition and reinforcement, adding a new layer of information in each step is one of the most effective ways to teach stuff like this. I can say that with confidence because a) I used to run a Training Company and b) I am an absolute novice at any sort of coding/Macro writing or anything in that ball park. It's just not how my brain is wired. This is the first tutorial on roll20 Macros that I have understood from the start. Well done.
When mentioning a class level, @{level}(character's total level) only works if the character only has one class. For a multiclassed character, use @{base_level} for the character's first class. For each other class, you instead use a different one I can't remember off the top of my head, but you can't miss them when finding them.
Are the macro "commands" different for 5e and Pathfinder? I'm trying to set up a macro that has a query for the saves and that then rolls the save with the character's modifier (in Pathfinder). However, the comma after my option doesn't finish the option name, it's just added... EDIT: I found my problem. The template I was using (Template:npc) didn't allow the same layout as the default template. Thank you for your video, it's been mighty helpful!
This is great, I have used many API's and Macro's from you to enhance my game. I tried seeing if my question is in the comments already and didn't find them. I have the token action API set up and the ammo tracking set up too, I'd like to change the output for my characters (as I have a life cleric) but include the spell slot expenditure.
Hey Nick, thanks for this. It has given me some ideas. I was wondering if it is possible to have a macro that whispers to each of the players a prompt to roll initiative from the whisper box or let them type it in and have that whispered back to me. I've got 5 players and all but one are using dice and the one that is using the Roll20 dice is completely new to D&D. Ultimately I'd want to combine this with a script that adds their response to the initiative tracker. A thumbs up if you think Roll20's macro and api would allow me to create something like this.
Is there a way to use the same roll in multiple boxes? For example, I want a macro that does Bard uses Defensive Flourish for [[1d8]] bonus damage. His AC increases to [[npc_ac+1d8]]. But I want the 1d8s to be the same roll.
Hey Nick. Once again great video. Helps alot. How hard would it be to develop an API to produce a "spell book" of spells that appears in chat, Casts by clicking on spell, asks about spell level for spells that can be cast at higher levels, reduces spells slots accordingly AND applies modifiers if present (like life domain). I am think something along the lines of the magic missile API in another of your videos.
I like your videos. You explain in a way that is easy to follow. I did run into some issues with the healing macro, as a GM I focus more on damage output. I've set up macros for my minions to output damage based on their weapon and stats from the sheet. I assume it would be possible to condense these macros down into 1 pull down menu macro, rather than having one for each type of attack, using the ? command. One thing I am struggling with is how to set up a macro that targets another token. For example, my goblin attacks a player within range, so during his turn he swipes and attacks, but how do I set up a macro that draws from the goblins attack and damage vs the targets AC and HP? I wish to do it straight from a macro assigned to the attacker, output the result in the chat, and if possible change the values on the target, or at least name the attacker vs the defender in the chat. Thought I could do it from the character sheet, but it doesn't seem to work either.
When the healing potion is ran it is outputting as follows and isn't encased in the same pretty presentation you've made it do: Harry Wraith (GM):{template:default} {{name=Healing Potion}} {{ Supreme Healing Potion Used: 38 HP recovered }} {template:default} {{name=Healing Potion}} {{ Healing Potion Used: 9 HP recovered }}
@@NickOlivo yeah, i opened your video when when you published it, and i let it open a long time before watching it. You must ve updated the description in that time, thanks a lot
Thanks, Nick! I tried that using this formula: /em Reynard places his hands on the wound and whispers "Receive the blessing of the gods" &{template:default}{{name=Cure Wounds}}{{Cure Wounds Heals=[[?{What Level Cure Wounds}d8+@{wisdom_mod}[WIS]]] HP}}{{Cast at Level=?{What Level Cure Wounds}}} and it gave me the in-line roll info embedded in the /em colored text box, but included none of the description from the /em.
@@NickOlivo I run an older system that has no sheet. Your videos have shown me how useful a character sheet could be. I have 1500 hours of gm-ing and never used a character sheet. Watching your videos, I don’t know how my players and I ever managed. What an eye-opener. Thank you.
Doesn’t that result in your screen becoming busy? I have up to 9 players in one game, then if I have all those macro boxes in the ribbon as well I won’t be able to see the underlying map.
Hey Nick, do you have a good Idea how to write a macro to award players and/or the group with XP? There is this whole API of Scott (I havent tested yet), but I thought there must be an easier way. Thank you for your advice!
As I figured out, the API "Ammo" works better for that purpose and I got it working so far, but yet I have some issues to get it straight with the default template.
That can be done if you have a Pro account - you'll need the Recursive Table mod, described in this video - ruclips.net/video/rzR_PNZTb5U/видео.html Good luck, and happy gaming!
I have a spell"prayer of healing" is there a way i dont have to use all the targets to use the spell im using Casting Healing Word at @{target|Target1|character_name},@{target|Target2|character_name}, @{target|Target3|character_name},@{target|Target4|character_name},@{target|Target5|character_name},@{target|Target6|character_name}, for [[?{Spell Level|2|3|4|5|6|7|8|9}d8+2+@{selected|wisdom_mod}]] HP
Have you found it possible to trigger a roll table based on the chosen selection? I've tried a couple of different ways, including creating a macro for the table and using it instead of a dice roll after the choice name, but can't get it to display. I currently have the inline chat buttons to do this, but I was wondering if it could be a pop-up too. EDIT: I should specify I'm using the npcaction template, not the default (which seems to work).
I haven't tried that before, sorry. You might want to post over on the Roll20 Macro Forum, the folks there might be able to help. app.roll20.net/forum/category/19
@@NickOlivo I brought it up and the answers I got were basically "don't do a dropdown, do it in chat". No big. It's not they way I wanted it to come out, but works.
I took a combination of the macro's here and made a Short Rest macro that is a character sheet macro that rolls the hit dice and adds the con mod for the character. It uses a variant of the Life Domain macro except I added @{hitdietype} in place of the 8 for D8.
For those curious here's the macro. This is the 5e template &{template:npcaction} {{name=Hit Die Heal}} {{rname=Short Rest}} {{description=Recovers [[?{How Many Hit Dice}d@{hitdietype}+@{constitution_mod}]] HP}}
I've tried to make a template that rolls tables and does not show rolls as inline... but I seem to be stuck. Could any kind soul take a look and advise? :( /w gm &{template:default} {{name=test}} {{?{test| table1, **Healing Potion Used:** [[1t[table1]]]| table2, **Greater Healing Potion Used:** [[1t[table2]]] } }} When I try to replace [[ with /roll it fails on me
@@NickOlivo The rollable table I use has a lot of text for each value, so when I have to hover over the result, I don't see the whole result, so it's a bit pointless. I might have to try and see if I can have one macros that contains other macros in them, as that would also resolve the problem
I'm trying to do the cure wounds token action for Mass Cure Wounds and Mass Healing Word. The problem I'm having is those spells at level 3 and level 5 start with a 1d4 for mass healing word level 3 and 3d8 mass cure wounds level 5. When I try to create the macro it rolls mass healing word at 3d4 no matter how I change the line, it either rolls 3d4 or it breaks and wont post, any help? Pretty much I cant find the correct syntax to start the spell at the appropriate die for a higher level, it wants to add more dice for a level 3 spell that only starts with a 1d4 or the 3d8 cure wounds starts with.
@@NickOlivo So I altered the cure wounds for healing word and got this &{template:default}{{name=Healing Word-Life Domain}}{{Healing Word Heals=[[?{What Level Healing Word}d4+@{wisdom_mod}+2+?{What Level Healing Word}]] HP}}{{Cast at Level=?{What Level Healing Word}}}{{Blessed Healer=Lager heals for [[2+?{What Level Healing Word}]] HP}} Now when I would try to do this for mass healing word it gives it 3d4 because it starts at level 3 with only 1d4. So what I did was cast it and grabbed the code from the chat box and got this @{Crif Exiagiu|wtype}&{template:dmg} {{rname=Mass Healing Word}} 0 {{range=60 feet}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[1d4 + 5[WIS]]]}} {{dmg1type=Healing}} 0 {{dmg2=[[0]]}} {{dmg2type=}} 0 {{desc=}} {{hldmg=[[(1*?{Cast at what level?|Level 3,0|Level 4,1|Level 5,2|Level 6,3|Level 7,4|Level 8,5|Level 9,6})d4]]}} {{spelllevel=3}} {{innate=}} {{globaldamage=[[0]]}} {{globaldamagetype=@{Crif Exiagiu|global_damage_mod_type}}} ammo= @{Crif Exiagiu|charname_output} So I tried clipping a few things from this into the mass healing word macro above and it either breaks or doesnt cast it correctly.
@@NickOlivo Thank you that works perfectly!! I altered it like this for Mass Cure Wounds as well and it works great! &{template:default}{{name=Mass Cure Wounds-Life Domain}}{{Cure Wounds Heals=[[[[?{What Level Cure Wounds?|5|6|7|8|9}-2]]d8+@{wisdom_mod}+2+?{What Level Cure Wounds?|5|6|7|8|9}]] HP}}{{Cast at Level=?{What Level Cure Wounds?|5|6|7|8|9}}}{{Blessed Healer=Lager heals for [[2+?{What Level Cure Wounds?|5|6|7|8|9}]] HP}} Thank you again, my group loves the token macro cause it's less on the spot math for heals and makes things run smoother!!
@@NickOlivo I try this "&{template:default}{{name=Test}}{{?{Selection| Acrobatie, Acrobatie = [1d20 + @{selected|acrobatics_bonus} ] | Survie, Survie = @{selected|npc_acrobatics} }}" but in the two case i didn't get the roll (only the title)
Awesome tutorial man, but i have a question, i want to make a macro for rolling initiative for monsters and i dont want my players to look at the rolls, how do i do that with the templates and that???
You should be able to whisper rolls to just yourself by typing /w gm at the start. So for example, the party health sheet would look like this: /w gm &{template:default} {{name=Party Health}} {{Cassandra=@{Cassandra|hp}/@{Cassandra|hp|max}}} {{Grolf=@{Grolf|hp} /@{Grolf|hp|max} }} {{Grenda Fireforge=@{Grenda Fireforge|hp}/@{Grenda Fireforge|hp|max}}}
@@NickOlivo Fireball starts with 8d6 and goes up by a d6 for example. While Spiritual weapon goes up every two levels. could the macro be adapted for spells like this?
@@jcelam2567 It could - you'd take the approach shown in the healing potion macro, where the user could choose the level of the spell from the drop down, and then you roll a different amount of dice based on the selection. (Of course, that said, if you're using the 5e character sheet, it will do that adjustment for you when you cast a spell from the sheet.)
@@NickOlivo So what your saying is it wouldn't be possible to adapt the macro then? See my DM uses a slightly homebrew style for our game and this macro would be good for some features like elemental affinity or blessed healer but if it only works on d6, d8 and cant be adapted for 2d6 or 3d8 starting then may have to go the other route and a lot more coding.
How would I add ammo counting to something like the second wind or cure wounds ( I have the API). Also how can we have healing potions or Second wind actually add health?
There is a API script in the library called AMMO You can set that up to do just that, just end the token action with a linebreak and then the ammo Marco for the API
Jacob Nellemann yea I went ahead and installed it. Did get a message saying it may clash. Guess I’ll find out. If it does I’ll just remove it and think of something else.
This was a year ago. Now that I am more experienced with macros I'd actually say it's another one of those underbaked features that makes me hate Roll20 so very very much
@@NickOlivo I am trying to figure out how to either make a generic token action macro or maybe an API script that will generate token action with the different attack that are on the NPC sheet for pathfinder 2nd edition
One problem I have found, is that even with noerror in the macro, I have no way to get it to just give me a "There is no action available" instead of a empty filled out template.
@@NickOlivo found a work around. You need to reword the spell to show the saved damage first then the full damage, but for now it is nice to have everything included in the spell description.
I'm making a macro for my Zealot Barbarian,I have Reckless Attack and Great Weapon Master. As one can imagine it's annoying to roll all those dice then add them together. So I made a Macro that rolls my attack and all the damage, leaving me to only do the math, however, I want to know if it would be possible to add a line of code that would add all my rolls after giving me a breakdown (So I can see if I'm rolling high and subtract based on resistances easily) So far I have a Roll and Damage Breakdown Macro [The lines are spaced for easy reading] &{template:default} {{name=Reckless Attack}} {{Reckless Attack=[[1d20+6-5]] | [[1d20+6-5]]}} {{Rage Damage=[[2]]}} {{Halberd Damage=[[1d10+3]]}} {{Divine Fury Necrotic=[[1d6+4]]}} {{Great Weapon Master=[[10]]}} What I want is to add a line of code that adds the rolled numbers together so I can get a total. Something like: {{Total Damage=....}} Is something like that possible, or am I getting too ambitious for an entry-level macro maker?
That's a cool macro! Unfortunately, Roll20's macros don't allow for variables, so you won't be able to add all those values up. If you have a Pro account, you can use an API like PowerCards or Script Cards, which can do stuff like that.
Sure - Alterbars would do it for you. This forum describes how to use it - app.roll20.net/forum/post/4741812/alterbars-2-dot-0-new-and-improved/?pagenum=1 and you can grab the code from here - gist.github.com/Sky-Captain-13/a503c35914644e6f885f170eaeedc705
If you have access to the API, you can do that with the alterbars script - app.roll20.net/forum/post/4741812/alterbars-2-dot-0-new-and-improved/?pagenum=1
When you're editing the macro, scroll down in the dialog box and there's a field there called Visible to Players. You can use that to choose which of your players can use the macro.
You don't just skip over anything, you don't briefly show the commands onscreen and expect the viewers to pause it, you don't even try to speed certain parts up. You have the whole tutorial set out for everyone to see. There are few people who make tutorials as good as this one. Thank you.
Glad you found them helpful! Happy gaming!
I mean this is all very helpful and well explained. It’s just so surprising to me how difficult roll20 has made this.
Damn dude, I was turning blind just trying to understand Roll20 doc on macro, you just pop on youtube explaining like a chad, comprehensively, what I need to know. Thanks pal !
Glad it was helpful! Happy gaming!
This is brilliant! Super clear and concise. It moves you through in a step by step, and covers exactly what you need. I picked up some great skills here, which will improve my game enormously. Thank you!
Glad it was helpful! Happy gaming!
Took me an hour of watching drag and drop macro videos before FINALLY finding one that would just explain how to write my own. Thank you so much fornsuch an insightful video. Much appreciated
Glad it was helpful! Happy gaming!
How do you go about putting a query into a query?
E.g. when my character is within 30ft he gets various bonuses. So the first query would be "=< 30ft" then if the answer is yes it can ask "are you using sneak attack?" YES, 3d6| NO, 0
and then have the first questions "no" also be "0"?
@@andyevans8585 That's possible, but the syntax is kinda ugly. This video shows using nested queries to create a healing potion macro, you could use that as the basis for what you're looking to do. ruclips.net/video/_TUrDnOYx78/видео.html Best of luck!
@@NickOlivo thanks! I'm too used to excel lol
I cannot get over how informative your vidoes are. You are an exceptional teacher.
Thanks for the kind words! Happy gaming!
bless you for typing these out.
I've been running a game for first essential workers and military, and roll20 is new to me so I've had to crash self train.
You guys have been a godsend.
Other videos just show them in the vid, and the only way I could read them was to stream it to my wide screen tv, pause, and then write it down. Oy.
OMG, words alone cannot express how much I wish to thank you for this video. I just became a user of roll 20 and bought my subscription and have for the last two days been banging my head against the wall trying to figure out almost exactly the format you have been using. Trying to find anyone to give out information as to contact and syntax as to how to create macros in this way is almost damn near impossible! Thank you thank you thank you thank you thank you!
Entered here from a Life Domain Cleric perspective, knowing nothing about macros. Now I fell like a PRO. Very good video. Straight to the point, comprehensive and informative. Ty very much.
Now this one here, Is the best and only real explaining video of how to make macros in Roll 20.
Thanks bro, you are the hero we need AND the hero that we deserve.
Absolutely eppic pacing on teaching this subject. You thoroughly explained all the steps at least once, then moved on without wasting time. Thank you.
These tutorials are great! You do such a good job explaining things and go into great detail without getting bogged down
Great Macros...better even I am learning how their macro-scripts work. Really appreciate your videos. Please keep up the great content.
Thank you for such a great tutorial video. This is exactly what I needed to see to get a better understanding how R20s macro's work at their basic level. I will need to look and see if you have something like this for the API. Again, fantastic video.
Thanks for the kind words, James! And I have a bunch of API videos too, I hope you find them helpful!
YOUR VIDEOS ARE LIFE SAVING!!! They actually helped me make my games much more convenient for both me and my players! keep it up!
Thanks for all the great videos. I am new to Roll20 and these have helped me immensely. I used this video to build a macro to roll secret perception checks for the party with built in perception modifier instead of just using the Passive Perception score.
Thanks a lot Nick, as always a fantastic Macro and a succinct and helpful delivery! the best channel ive found for Roll20 macros and scripts, my players love that overland map with built in handout. I look forward every week to what you have to offer!!
This video right here opened my eyes to a whole new experience on Roll20! Thank you for making it easy to understand!
Glad it was helpful! Happy gaming!
OMG this is what I've been looking for, so many copy paste macros on the web but I couldn't figure out how they are formatted, thanks!!! Subbed liked and belled
You don't need a macro for the Life Cleric's *Cure Wounds.* When you go to the Cure Wounds spell in your OGL sheet's _Spells_ tab, edit the spell and simply add the bonus. So for the _HEALING_ amount you set it to 1d8+3 (+2 for life cleric, +1 for first level spell). Then for your _HIGHER LVL CAST DMG:_ you set it to 1 *d8* + 1. This automatically adds the +1 bonus per spell level that you cast it at a higher level.
I don't need ANY of these macros because I don't play 5E... but the process of making them shows me how to make macros I DO need.
Thanks so much for this! The healing potion macro is really helpful, especially with a party that didn't pick any healers, so potions are a bigger part of the game. I edited your macro for Cure Wounds, simplifying it to just a "additional healing/disciple of life" macro, since the bonus applies to any healing spells cast. It's almost too simple to need a macro, but it's more a reminder to add the bonus regardless.
A tip for macros like the Party Health - I had to go back and fix character names a few times that didn't work - turns out one had a space at the end, and one had a space before his first name, so it was difficult to see why the names weren't matching up. I know you said you need to make sure the characters' full names are written in the script for the macro, but that was an extra hidden challenge I didn't expect. 20 min of my life I won't get back :)
Good tip, sassak! Happy gaming!
So I thought I would know everything about macros in roll20. Seems I was wrong, thanks for all those great, well-explaned videos with inspiring ideas! :)
Thank you. First helpful Macro Guide I've seen so far.
thanks man. best roll20 info out there. they should pay you
Thanks for the kind words! Happy gaming!
You are the best roll20 teacher ! (Energiun)
Love this Nick. I implemented the Healing Potion macro already in my game for the players to use this Friday night. To Wayne Francis's point previously posted below, it also is giving me a few ideas to use this macro concept for other things. As always, thanks for the awesome video!
Thanks!
Thank you! Happy gaming!
OMG This is exactly what I needed.
This is what a Tutorial Video looks like when the presenter has worked out in advance what they are going to say, STICKS TO IT, and doesn't have to keep skipping about because they forgot something they had planned to say or suddenly remembered something they SHOULD have said. (ETA- but neither does it sound like he's reading from a script)
There are so many of these, where if you are not paying ABSOLUTE attention to every moment and taking notes you can suddenly miss that the presenter said, "Oh, and I need to show you THIS" and there is a segue into something unrelated... at which point you get lost.
It also goes through the stages of showing you WHY the things you might try on your own, don't seem to behave like the ones you se other people using.
I'm fairly certain Nick has spent some time teaching or training. Gradual repetition and reinforcement, adding a new layer of information in each step is one of the most effective ways to teach stuff like this.
I can say that with confidence because a) I used to run a Training Company and b) I am an absolute novice at any sort of coding/Macro writing or anything in that ball park. It's just not how my brain is wired.
This is the first tutorial on roll20 Macros that I have understood from the start.
Well done.
When mentioning a class level, @{level}(character's total level) only works if the character only has one class. For a multiclassed character, use @{base_level} for the character's first class. For each other class, you instead use a different one I can't remember off the top of my head, but you can't miss them when finding them.
Thanks a lot, you're crystal clear, and that's great!
Wow, you did an amazing job explaining this! You are great! I will implement those macros right now!
Glad it was helpful! Happy gaming!
Excellent information, sir. I'm modifying your templates for use in my Shadowrun Game. Many thanks.
Great video. Thanks. I don't use API and am glad for more macro videos
Are the macro "commands" different for 5e and Pathfinder? I'm trying to set up a macro that has a query for the saves and that then rolls the save with the character's modifier (in Pathfinder). However, the comma after my option doesn't finish the option name, it's just added...
EDIT: I found my problem. The template I was using (Template:npc) didn't allow the same layout as the default template. Thank you for your video, it's been mighty helpful!
Love the vids man, helped me a ton with getting stuff working. one thing I don't like is how quiet your videos are
This was insanely helpful, thanks so much! Liked + subscribed!
Glad it was helpful! Happy gaming!
Though I am using macros for some time I learned some nice things (reuse of variables etc.). Thanks!
Glad it was helpful! Happy gaming!
Great! Helped clear up a lot of my confusion with macro syntax. Thanks!
Thank you! You are a great teacher.
Well presented. Inspires the creation of many useful tools. I’m off to the Macro editor.
Fantastic video, as always. Thank you.
This is great, I have used many API's and Macro's from you to enhance my game. I tried seeing if my question is in the comments already and didn't find them. I have the token action API set up and the ammo tracking set up too, I'd like to change the output for my characters (as I have a life cleric) but include the spell slot expenditure.
I think this article might help - wiki.roll20.net/D%26D_5E_by_Roll20#Automatic_Spell_Slot_Tracking
Hey Nick, thanks for this. It has given me some ideas. I was wondering if it is possible to have a macro that whispers to each of the players a prompt to roll initiative from the whisper box or let them type it in and have that whispered back to me. I've got 5 players and all but one are using dice and the one that is using the Roll20 dice is completely new to D&D. Ultimately I'd want to combine this with a script that adds their response to the initiative tracker. A thumbs up if you think Roll20's macro and api would allow me to create something like this.
That would definitely be possible, yes.
Is there a way to use the same roll in multiple boxes? For example, I want a macro that does Bard uses Defensive Flourish for [[1d8]] bonus damage. His AC increases to [[npc_ac+1d8]]. But I want the 1d8s to be the same roll.
Really helpful! Thanks for sharing such useful macros!!
Thank you very very much for this video, my dude!
Hey Nick. Once again great video. Helps alot. How hard would it be to develop an API to produce a "spell book" of spells that appears in chat, Casts by clicking on spell, asks about spell level for spells that can be cast at higher levels, reduces spells slots accordingly AND applies modifiers if present (like life domain). I am think something along the lines of the magic missile API in another of your videos.
This helped immensely! Thank you brother!
I like your videos. You explain in a way that is easy to follow. I did run into some issues with the healing macro, as a GM I focus more on damage output. I've set up macros for my minions to output damage based on their weapon and stats from the sheet. I assume it would be possible to condense these macros down into 1 pull down menu macro, rather than having one for each type of attack, using the ? command.
One thing I am struggling with is how to set up a macro that targets another token. For example, my goblin attacks a player within range, so during his turn he swipes and attacks, but how do I set up a macro that draws from the goblins attack and damage vs the targets AC and HP? I wish to do it straight from a macro assigned to the attacker, output the result in the chat, and if possible change the values on the target, or at least name the attacker vs the defender in the chat. Thought I could do it from the character sheet, but it doesn't seem to work either.
I think this article will help you do what you're looking for - wiki.roll20.net/Macros#Using_a_Targeted_Token_with_a_Macro
Awesome video as always. Thanks!
so how would you set these up on sheets that do not provide the @ for the modifier?
Thanks for the post! This helped me a ton on setting up macros for my group :)
When the healing potion is ran it is outputting as follows and isn't encased in the same pretty presentation you've made it do:
Harry Wraith (GM):{template:default} {{name=Healing Potion}} {{
Supreme Healing Potion Used: 38
HP recovered
}}
{template:default} {{name=Healing Potion}} {{
Healing Potion Used: 9
HP recovered
}}
OK figured it out. The '&' symbol got missed off the copy and paste.
Great video. I love your content, but maybe it would be nice if some of the examples could be in the description. Anyway, nice video.
That’s weird, I posted them in the description a little while ago. Are they showing up for you now?
@@NickOlivo yeah, i opened your video when when you published it, and i let it open a long time before watching it. You must ve updated the description in that time, thanks a lot
I want to know how to change character abilities and stats with this so cure wounds actually changes their HP.
Nice video, how do you do a 2d20 gamesystem roll, where you roll 2 or more d20's and count each roll separately?
Hi Nick, is there a way to add /em descriptives to something like this? Also, for us luddites out there, these tutorials are wonderful!! Thanks!
Hi Dave - as far as I know, you can just add the /em as the first line in the macro and it should work.
Thanks, Nick! I tried that using this formula: /em Reynard places his hands on the wound and whispers "Receive the blessing of the gods" &{template:default}{{name=Cure Wounds}}{{Cure Wounds Heals=[[?{What Level Cure Wounds}d8+@{wisdom_mod}[WIS]]] HP}}{{Cast at Level=?{What Level Cure Wounds}}} and it gave me the in-line roll info embedded in the /em colored text box, but included none of the description from the /em.
Thankyou, this has been so helpful!
Your channel is great. Do you know of (or have you made?) a video that explains how to make a character sheet?
Not yet, though it's something I'm curious to learn more about.
@@NickOlivo I run an older system that has no sheet. Your videos have shown me how useful a character sheet could be. I have 1500 hours of gm-ing and never used a character sheet. Watching your videos, I don’t know how my players and I ever managed. What an eye-opener. Thank you.
Doesn’t that result in your screen becoming busy? I have up to 9 players in one game, then if I have all those macro boxes in the ribbon as well I won’t be able to see the underlying map.
Super helpful thank you very much for this video.
Hey Nick, do you have a good Idea how to write a macro to award players and/or the group with XP? There is this whole API of Scott (I havent tested yet), but I thought there must be an easier way. Thank you for your advice!
As I figured out, the API "Ammo" works better for that purpose and I got it working so far, but yet I have some issues to get it straight with the default template.
Do you know where you can find the other templates
How can i put a roll dice in a rollTable.. like a random encounter table: [[1d4]] kobolds / [[1d6+2]] goblins ...
That can be done if you have a Pro account - you'll need the Recursive Table mod, described in this video - ruclips.net/video/rzR_PNZTb5U/видео.html Good luck, and happy gaming!
Im looking to make a viscous mockery macro will randomly generate an insult from a list any thoughts
I have a spell"prayer of healing" is there a way i dont have to use all the targets to use the spell im using
Casting Healing Word at @{target|Target1|character_name},@{target|Target2|character_name}, @{target|Target3|character_name},@{target|Target4|character_name},@{target|Target5|character_name},@{target|Target6|character_name},
for [[?{Spell Level|2|3|4|5|6|7|8|9}d8+2+@{selected|wisdom_mod}]] HP
is there a way to do this for saving throws? i've been trying but i cant
Have you found it possible to trigger a roll table based on the chosen selection? I've tried a couple of different ways, including creating a macro for the table and using it instead of a dice roll after the choice name, but can't get it to display. I currently have the inline chat buttons to do this, but I was wondering if it could be a pop-up too. EDIT: I should specify I'm using the npcaction template, not the default (which seems to work).
I haven't tried that before, sorry. You might want to post over on the Roll20 Macro Forum, the folks there might be able to help. app.roll20.net/forum/category/19
@@NickOlivo I brought it up and the answers I got were basically "don't do a dropdown, do it in chat". No big. It's not they way I wanted it to come out, but works.
I took a combination of the macro's here and made a Short Rest macro that is a character sheet macro that rolls the hit dice and adds the con mod for the character. It uses a variant of the Life Domain macro except I added @{hitdietype} in place of the 8 for D8.
For those curious here's the macro. This is the 5e template
&{template:npcaction} {{name=Hit Die Heal}} {{rname=Short Rest}} {{description=Recovers [[?{How Many Hit Dice}d@{hitdietype}+@{constitution_mod}]] HP}}
@Carl Hotko /facepalm you are right thanks for correcting that.
Very cool!
I've tried to make a template that rolls tables and does not show rolls as inline... but I seem to be stuck. Could any kind soul take a look and advise? :(
/w gm &{template:default} {{name=test}} {{?{test|
table1, **Healing Potion Used:** [[1t[table1]]]|
table2, **Greater Healing Potion Used:** [[1t[table2]]]
}
}}
When I try to replace [[ with /roll it fails on me
Hi Deb - when using the templates, you have to use inline rolls. May I ask why you don't want to use inline rolls for this?
@@NickOlivo The rollable table I use has a lot of text for each value, so when I have to hover over the result, I don't see the whole result, so it's a bit pointless. I might have to try and see if I can have one macros that contains other macros in them, as that would also resolve the problem
I'm trying to do the cure wounds token action for Mass Cure Wounds and Mass Healing Word. The problem I'm having is those spells at level 3 and level 5 start with a 1d4 for mass healing word level 3 and 3d8 mass cure wounds level 5. When I try to create the macro it rolls mass healing word at 3d4 no matter how I change the line, it either rolls 3d4 or it breaks and wont post, any help? Pretty much I cant find the correct syntax to start the spell at the appropriate die for a higher level, it wants to add more dice for a level 3 spell that only starts with a 1d4 or the 3d8 cure wounds starts with.
Please post your code here and I'll take a look.
@@NickOlivo So I altered the cure wounds for healing word and got this
&{template:default}{{name=Healing Word-Life Domain}}{{Healing Word Heals=[[?{What Level Healing Word}d4+@{wisdom_mod}+2+?{What Level Healing Word}]] HP}}{{Cast at Level=?{What Level Healing Word}}}{{Blessed Healer=Lager heals for [[2+?{What Level Healing Word}]] HP}}
Now when I would try to do this for mass healing word it gives it 3d4 because it starts at level 3 with only 1d4. So what I did was cast it and grabbed the code from the chat box and got this
@{Crif Exiagiu|wtype}&{template:dmg} {{rname=Mass Healing Word}} 0 {{range=60 feet}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[1d4 + 5[WIS]]]}} {{dmg1type=Healing}} 0 {{dmg2=[[0]]}} {{dmg2type=}} 0 {{desc=}} {{hldmg=[[(1*?{Cast at what level?|Level 3,0|Level 4,1|Level 5,2|Level 6,3|Level 7,4|Level 8,5|Level 9,6})d4]]}} {{spelllevel=3}} {{innate=}} {{globaldamage=[[0]]}} {{globaldamagetype=@{Crif Exiagiu|global_damage_mod_type}}} ammo= @{Crif Exiagiu|charname_output}
So I tried clipping a few things from this into the mass healing word macro above and it either breaks or doesnt cast it correctly.
@Tendaras Try this &{template:default}{{name=Mass Healing Word-Life Domain}}{{Healing Word Heals=[[[[?{What Level Healing Word?|3|4|5|6|7|8|9}-2]]d4+@{wisdom_mod}+2+?{What Level Healing Word?|3|4|5|6|7|8|9}]] HP}}{{Cast at Level=?{What Level Healing Word?|3|4|5|6|7|8|9}}}{{Blessed Healer=Lager heals for [[2+?{What Level Healing Word?|3|4|5|6|7|8|9}]] HP}}
@@NickOlivo Thank you that works perfectly!! I altered it like this for Mass Cure Wounds as well and it works great!
&{template:default}{{name=Mass Cure Wounds-Life Domain}}{{Cure Wounds Heals=[[[[?{What Level Cure Wounds?|5|6|7|8|9}-2]]d8+@{wisdom_mod}+2+?{What Level Cure Wounds?|5|6|7|8|9}]] HP}}{{Cast at Level=?{What Level Cure Wounds?|5|6|7|8|9}}}{{Blessed Healer=Lager heals for [[2+?{What Level Cure Wounds?|5|6|7|8|9}]] HP}}
Thank you again, my group loves the token macro cause it's less on the spot math for heals and makes things run smoother!!
@@HizzaruVT Fantastic! I'm glad I could help. Happy gaming :)
Is it possible to do a combo box and use "Acrobatics = %{selected | ncp_acrobatics} "for the value ?
Something like this might work for you - ?{Selection|@{selected|npc_acrobatics}}
@@NickOlivo I try this "&{template:default}{{name=Test}}{{?{Selection| Acrobatie, Acrobatie = [1d20 + @{selected|acrobatics_bonus} ] | Survie, Survie = @{selected|npc_acrobatics} }}" but in the two case i didn't get the roll (only the title)
When I Add "modifier inquiry" to this marco it creates errors. How do I add that.
Hi there- please paste in the code that you're trying to run and I'll take a look.
@@NickOlivo I was able to figure it out but its awesome you got back to me. Thank you!
So I know this video was a bit long ago but is there anyway to add a check to see if they have a healing potion before they use the healing macro?
Not without using the API, and even then, I'm not sure how one would check the inventory, sorry.
Awesome tutorial man, but i have a question, i want to make a macro for rolling initiative for monsters and i dont want my players to look at the rolls, how do i do that with the templates and that???
You should be able to whisper rolls to just yourself by typing /w gm at the start. So for example, the party health sheet would look like this:
/w gm &{template:default} {{name=Party Health}} {{Cassandra=@{Cassandra|hp}/@{Cassandra|hp|max}}} {{Grolf=@{Grolf|hp} /@{Grolf|hp|max} }} {{Grenda Fireforge=@{Grenda Fireforge|hp}/@{Grenda Fireforge|hp|max}}}
@@NickOlivo thx man, much appreciated
Great video, but how would you adapt the cure wounds macro from a d8 to 2d6 for spells that have different scaling?
Thanks for the kind words! Which spell did you have in mind?
@@NickOlivo Fireball starts with 8d6 and goes up by a d6 for example. While Spiritual weapon goes up every two levels. could the macro be adapted for spells like this?
@@jcelam2567 It could - you'd take the approach shown in the healing potion macro, where the user could choose the level of the spell from the drop down, and then you roll a different amount of dice based on the selection. (Of course, that said, if you're using the 5e character sheet, it will do that adjustment for you when you cast a spell from the sheet.)
@@NickOlivo So what your saying is it wouldn't be possible to adapt the macro then? See my DM uses a slightly homebrew style for our game and this macro would be good for some features like elemental affinity or blessed healer but if it only works on d6, d8 and cant be adapted for 2d6 or 3d8 starting then may have to go the other route and a lot more coding.
@@jcelam2567 I think you'd want something like this
&{template:default} {{name=Fireball}} {{
?{WhatLevel|
3rd, **3rd Level Fireball Cast:** [[8d6]]|
4th, **4th Level Fireball Cast:** [[9d6]]|
5th, **5th Level Fireball Cast:** [[10d6]]|
}
fire damage
}}
Excellent video.
hi, how change the title macro color?
How would I add ammo counting to something like the second wind or cure wounds ( I have the API). Also how can we have healing potions or Second wind actually add health?
There is a API script in the library called AMMO
You can set that up to do just that, just end the token action with a linebreak and then the ammo Marco for the API
Jacob Nellemann cool. I’ve seen it but I figured since the API:5th Edition OGL by Roll20 Companion already had Ammo tracking I wouldn’t need it.
@@patrickwalker7483 ohh I don't know about that, I am playing pathfinder 2nd. 😂
But the ammo script is quite easy to set up
Jacob Nellemann yea I went ahead and installed it. Did get a message saying it may clash. Guess I’ll find out. If it does I’ll just remove it and think of something else.
@@patrickwalker7483 nothing to worry about, Nick also says in one of his videos that you might get that warning, but you should be fine.
Hey! Greay vids, lots of help. Im wondering how could you do this randomly? Like determine thr type of potion at random
Would love to see an answer / follow up to this
Thank you so much! This is great!
Glad it was helpful! Happy gaming!
This was a year ago. Now that I am more experienced with macros I'd actually say it's another one of those underbaked features that makes me hate Roll20 so very very much
Another great video !
Your work is amazing 😁
Do you have a discord or somewhere else where you can be reached for questions?
Thanks! I don't have a discord, but you can post questions here and I'll help if I can.
@@NickOlivo I am trying to figure out how to either make a generic token action macro or maybe an API script that will generate token action with the different attack that are on the NPC sheet for pathfinder 2nd edition
I found a way to make generic melee / Ranged / Reaction / Action macro auto generated for every npc :)
One problem I have found, is that even with noerror in the macro, I have no way to get it to just give me a "There is no action available" instead of a empty filled out template.
Is there a way to reuse a single roll? Rolling damage for fireball and the value if you save?
Not within a macro - you'd need the API for that.
@@NickOlivo found a work around. You need to reword the spell to show the saved damage first then the full damage, but for now it is nice to have everything included in the spell description.
Super nice video, but when I watch it, it kinda makes me think that roll20 devs could do a better job, to make things a lot more easier.
This is very helpful!
how can i automatically increament my hp with this macro should I : @caracter|hp = @carater|hp + [[4d4+4]] ?
Unfortunately, macros on their own can't change the HP of a token/character sheet. You'd need to use the API for that.
@@NickOlivo I am a free player. Thx for the info. I'll try another trix then
GREAT basic tutorial!!!!!!!
Glad it was helpful! Happy gaming!
I'm making a macro for my Zealot Barbarian,I have Reckless Attack and Great Weapon Master. As one can imagine it's annoying to roll all those dice then add them together. So I made a Macro that rolls my attack and all the damage, leaving me to only do the math, however, I want to know if it would be possible to add a line of code that would add all my rolls after giving me a breakdown (So I can see if I'm rolling high and subtract based on resistances easily)
So far I have a Roll and Damage Breakdown Macro [The lines are spaced for easy reading]
&{template:default} {{name=Reckless Attack}}
{{Reckless Attack=[[1d20+6-5]] | [[1d20+6-5]]}}
{{Rage Damage=[[2]]}}
{{Halberd Damage=[[1d10+3]]}}
{{Divine Fury Necrotic=[[1d6+4]]}}
{{Great Weapon Master=[[10]]}}
What I want is to add a line of code that adds the rolled numbers together so I can get a total. Something like:
{{Total Damage=....}}
Is something like that possible, or am I getting too ambitious for an entry-level macro maker?
That's a cool macro! Unfortunately, Roll20's macros don't allow for variables, so you won't be able to add all those values up. If you have a Pro account, you can use an API like PowerCards or Script Cards, which can do stuff like that.
@@NickOlivo Thanks for the reply, it's a shame that isn't in base, limits what you can do. Sadly no pro account, so no totals for me ¯\_(ツ)_/¯
Great video.
Could you put the macros in the description? Thank you in advance :)
Thanks for the kind words! Just added them.
Nick Olivo
Thank you, will get right to making macros for healing potions for my players.
Keep up the good work :)
Do you think you could link me to what API I could use if I wanted it to update automatically, though? Would appreciate it.
Sure - Alterbars would do it for you. This forum describes how to use it - app.roll20.net/forum/post/4741812/alterbars-2-dot-0-new-and-improved/?pagenum=1
and you can grab the code from here - gist.github.com/Sky-Captain-13/a503c35914644e6f885f170eaeedc705
@@NickOlivo Ah, Danke schön.
Hecking useful. Thanks.
Make a damage macro that will remove HP from the target token?
is it possible?
If you have access to the API, you can do that with the alterbars script - app.roll20.net/forum/post/4741812/alterbars-2-dot-0-new-and-improved/?pagenum=1
This is helping me so much!
Amazing Video
Glad it was helpful! Happy gaming!
thank you, that helped me a lot
almost a year later, this video has 25,000 views, 1000 likes, and 0 dislikes
I just gave 999th like, the next guy liking the video will have a lucky day
If I use this potion macro in a game I created, can another person promoted to GM use the macro also? or do they need to make their own?
When you're editing the macro, scroll down in the dialog box and there's a field there called Visible to Players. You can use that to choose which of your players can use the macro.
Nested rollqueries next please hehe
I have a couple of levels deep and they were a nightmare to build.
Great Video.