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

Character Sheets and Token Macros

Hi! I was wondering if there was a way to get the macros that are in the character sheets (specifically the Savage Worlds character sheet) to show up in the Token Bar when a token is selected? Just wondering so that my new players dont need to have the character sheet open all the time. Thanks,
If you know the button name you can create a token macro for the command %{buttonname} or if you are a mentor and would like to force certain buttons to be a token macro for every token you can make a custom sheet and add class="tokenaction" to the button itself
1408610395

Edited 1408610450
Finderski
Pro
Sheet Author
Compendium Curator
How do you use the %{button name}? I tried that and couldn't seem to get it to work. the button name is "roll_Agility", so I created a macro using %{roll_Agility} And when that didn't work I tried %{Agility} Both times I received the error "ReferenceError: Can't find variable: charname" Thanks.
If it is a token macro it should pick up the name. If it doesnt use %{selected|Agility} and it will roll for the currently selected token
1408617059
Finderski
Pro
Sheet Author
Compendium Curator
Zepth - thanks for the information. That worked, though not as I expected. I was trying to test the macro from the Attributes & Abilities tab using the d20 icon and it never worked. I had to use the Selected designation, too, which I'd never had to do before when it was on the character sheet. But I got it to work, so that's pretty cool!
What ended up working GV? Being able to reference the button rather than recreating the macros would be handy.
1408630257
Finderski
Pro
Sheet Author
Compendium Curator
So, my button code looks like this: <button type="roll" name="roll_Fighting" value="/em @{character_name} attempts to hit something and rolls [[{1d@{fighting}![Fighting], 1d@{wilddie}![Wild Die]}kh1 + @{FightingMod}[Fighting Modifiers] + @{ttmod}[Situational Modifiers] +(@{FightingEncumbrance}*@{encumbrance})[Encumbrance Penalty] - @{wounds}[Wounds] - @{fatigue}[Fatigue]]]!" class="btn"></button> For the macro, I had to do this: %{Selected|Fighting} It doesn't seem to work without the Selected being in there, though, even though it's on the character sheet and the token is tied to the character sheet. Not sure why that is, but...that's what worked. BUT - for some reason, it doesn't seem to be working now. I went back into create one from a repeating field so I could post that, too...but now...it's not working. Hrrmmm. To find the name, I had to do a right-click on the button itself and select "Inspect Element" Also, I just submitted my tabbed version of the Savage Worlds Character Sheet, and that will also include some formulas that can be revealed to show the formulae of the different buttons so if you can't get this to work, you can at least get the formula from the character sheet without having to do an Inspect Element sort of thing. So, if I can't figure out this button thing, at least that should save some time...
%{Selected|Fighting} is working for me on the original SW character sheet.
You wont be able to call a button from a repeating field, you have to recreate those macros from the ground up unfortunately