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

Helpful Macros?

Is there a macro that works out a monsters Ac and then rolls damage automatically reducing its hp? How would that be written? if you have any other tips on macros id love to here them.
1494980960
Lithl
Pro
Sheet Author
API Scripter
That would only be possible with the aid of an API script.
ok... dont know about those, didnt know what a macro was until today, im kind of winging it at the moment, il try you tube some videos tomorrow on what to write for macros, and where to put them. cheers Brian
1495022270
The Aaron
Pro
API Scripter
Note: API is a perk of a Pro Subscription.
Yeah i have read up a  little, dont have the skill for that but the pro subscription has other perks so am thinking of upgrading anyway, this is my first week so still testing the water so to say, any advice is welcome.
1495033450
The Aaron
Pro
API Scripter
You don't need to have much skill to use the APIs.  Lots of people write API scripts and many of them are very easy to use with no understanding of Javascript.  Some are even installable without ever seeing the code.  Also, there are lots of helpful people to get it going for you. 
1495033864
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Even with almost no understanding of Javascript, you can easily make minor modification to existing scripts, especially the shorter, simpler ones. (Heck, even I can do it!)
ok. so i have setup initiative for four characters, with putting the macro in the abilities section of each character, and they have a tab at the top right of the screen, im not sure how i do roles for individual weapons with them having a tab for each character, im trying to set it up for my kids, the youngest being 8 so having one press tabs for weapon roles would be good? And keith any question is easy once you know the answer lol :)
1495038264
The Aaron
Pro
API Scripter
You're talking about setting up the attacks for a given character?  You could make each attack as an  ability on the character, then set them as  Token Actions , which will cause them to be displayed as a row of buttons across the top of the screen when the character's token is selected on the map.
sweet, im on the right page then so something like /roll longsword 1d20 vs AC + 1d6+3 or is that way wrong? 
Gary O. said: sweet, im on the right page then so something like /roll longsword 1d20 vs AC + 1d6+3 or is that way wrong?  If you want to make it look nice, click the button on the character sheet so that it appears in the chat log. Then (in the chat log) push the up arrow and you will see the code that was used for the roll. You can then copy that code into the ability.
1495041040
The Aaron
Pro
API Scripter
Kyle G. said: Gary O. said: sweet, im on the right page then so something like /roll longsword 1d20 vs AC + 1d6+3 or is that way wrong?  If you want to make it look nice, click the button on the character sheet so that it appears in the chat log. Then (in the chat log) push the up arrow and you will see the code that was used for the roll. You can then copy that code into the ability. ... if you're using a character sheet for your game.
thats awesome, how easy is that. kids are going to love it. many thanks.
1495042328
The Aaron
Pro
API Scripter
Very easy. =D