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 .
×

Problem trying to make Token Action macros out of sheet rolls

Hello there. 1st of all sorry about my english. I'm an old gamer who have been playing with the same guys for over 25 years. Time passes, people get married and some even move to other cities and countries, roll 20 have became our best hope to keep our games going. We've been playing Tormenta RPG, a brazillian 3.5 based system for some time now, and seeing that there was a sheet and support for it in here made we decide on joining the boat, however, since I'm a total zero when it comes to programming, html, etc, I'm having tremendous difficulties into trying to make things go faster in our playing, a.k.a. making attack rolls become a Token Action macros. Having to open sheets of every token and clicking the sheet it's too time consuming, and confusing, when dealing with lots of tokens. The sheet already allows the creation of 2-5 different and complete types of attacks and it works flawlesly but I can't find a way of grabbing the exact code on those buttons to make them Token Actions. Any help would be greatly appreciated! Regards!
1464851367

Edited 1464851661
vÍnce
Pro
Sheet Author
Mateus, have you tried dragging the attack rolls off the sheet to the macro quick bar? You can drag your sheet rolls to the quick bar and roll them from there.  You can also rename them with a right-click|rename.  And if you go to chat and hit the UP arrow after activating a quick bar button (any roll sent to chat for the matter), you will see the exact command that was used to make the roll. Hope that helps.  Cheers This was the command that was used to make that attack roll.
Thanks!! Yup, it was very helpful! But unfortunately still couldn't get it working as I wish. I managed to make THAT exact attack a Token Action by coping the command, however when I try to use it with other tokens it keeps using that same attack instead of reading the data on the sheet of the selected token. I edited the name part of it with selected. Thanks in advance!
Change everywhere that it mentions a particular character to @{selected|whatever} @{DonaldTrump|Intelligence} => @{selected|Intelligence} rinse, repeat, and Bob's Your Uncle, You have a macro that works for anything with the afoementioned Stat on their sheet.
al e. said: Change everywhere that it mentions a particular character to @{selected|whatever} @{DonaldTrump|Intelligence} => @{selected|Intelligence} rinse, repeat, and Bob's Your Uncle, You have a macro that works for anything with the afoementioned Stat on their sheet. It only appears once, tried it.
1464929072
Finderski
Pro
Sheet Author
Compendium Curator
Something else you can do is look at  the code for the character sheet and find all the button names (CTRL+F, and search for: name="roll_). Then you can create a macro like this: %{Selected|FOR-Check} Assuming you have a token representing your character, that would macro would be the same as if you clicked the Teste-FORÇA button on the character sheet ("FOR-Check" is the name of the button on the character sheet). Looks like there are about 51 buttons you could create macros for in this manner.
G V. said: Something else you can do is look at  the code for the character sheet and find all the button names (CTRL+F, and search for: name="roll_). Then you can create a macro like this: %{Selected|FOR-Check} Assuming you have a token representing your character, that would macro would be the same as if you clicked the Teste-FORÇA button on the character sheet ("FOR-Check" is the name of the button on the character sheet). Looks like there are about 51 buttons you could create macros for in this manner. No sucess again. It appears to be a bit more complex unfortunately. Any expert out there?
1465193964

Edited 1465194106
vÍnce
Pro
Sheet Author
Create some token macros for your attacks. example; Use  Attack_0 as the name and for the macro use:  %{selected|repeating_arma_$0_Attack-Roll} Use  Attack_1   as the name   and for the macro use: %{selected|repeating_arma_$1_Attack-Roll} Make an Acrobatics token action the same way use  %{selected|Teste-Acrobacia} in the macro. I learned the name of these rolls(what to include the macro) by using the button on the sheet then going into the chat command window and using the UP arrow.  This shows the previous command that was used in chat.  Also, to make my token macro universal, I substitute the name with "selected". So @{BOBBY|something} becomes @{selected|something}. With this method, you can create as many token actions as you like.  Use the "Show as Token Action" if you want to see your macros whenever you select that token.   Use "Show in Macro Bar" if you want to always have access to the macros from the bottom of the editor.(IMO you might as well use drag/drop/and rename from the sheet to the macro quick bar if this is what you like.) Hope this helps. Cheers
1465214095
Finderski
Pro
Sheet Author
Compendium Curator
Also a quick note on my and Vince's suggestions...in order for those to work, the toke needs to be selected. If the token isn't selected, then the macro won't work.
Vince said: Create some token macros for your attacks. example; Use  Attack_0 as the name and for the macro use:  %{selected|repeating_arma_$0_Attack-Roll} Use  Attack_1   as the name   and for the macro use: %{selected|repeating_arma_$1_Attack-Roll} ... ... ... Use "Show in Macro Bar" if you want to always have access to the macros from the bottom of the editor.(IMO you might as well use drag/drop/and rename from the sheet to the macro quick bar if this is what you like.) Hope this helps. Cheers It worked!! Thanks very much! What I was missing was the _$X_ as a way of addressing each row in the table. If that's the same thing for the spells and such I'll be a very happy GM! Thanks again and ty all for helping! Regards!