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

Macros for Savage Worlds Tabbed Character Sheet

First, I'm very new to this and apologize if I've missed something obvious. I tried to make a macro that I could put on a character token using the Savage Worlds tabbed character sheet. &nbsp;Specifically, I was trying to create a macro for casting a damage spell. &nbsp;In the character sheet, I have only one damage spell entered (Bolt). &nbsp;I have selected the "Raise" box and have 2d6 listed as the damage. &nbsp;If I roll using the macro button from the sheet it works correctly. &nbsp;However, when I use the macro which was simply copied from macro formula on the character sheet, it changes the damage to 2d4 and doesn't use the raise. Here's the macro formula: &{template:soliddamage} {{name=@{character_name}}} {{weapon=@{repeating_dmgspells_0_Spell}}} {{damage_type=@{repeating_dmgspells_0_NoSpllDmgDice}@{repeating_dmgspells_0_SDmgType}+@{repeating_dmgspells_0_SDmgMod}}} {{damage=[[@{repeating_dmgspells_0_NoSpllDmgDice}@{repeating_dmgspells_0_SDmgType} + @{repeating_dmgspells_0_SDmgMod}[Spell Damage] + @{dmgmod}[Damage Modifier] + 1d@{repeating_dmgspells_0_SDmgRaise}[Bonus Damage]]]}} {{raise=@{repeating_dmgspells_0_SDmgRaise}}} {{dmgmod=@{dmgmod}}} What am I doing wrong? &nbsp;Is anyone aware of good videos about creating macros for Savage Worlds like the fantastic taking20 videos about how to create macros for D&D 5e? &nbsp;(I'm trying to do something like I saw on taking20 where I can click the macro and have all the listed spells cast. &nbsp;That way I don't have to have a macro for each individual spell and end up with a huge list of macros when I click the token. &nbsp;This is the video that I'm referring to <a href="https://youtu.be/rrbqdkGIa00" rel="nofollow">https://youtu.be/rrbqdkGIa00</a>.) Any help would be appreciated.
1484593175
Finderski
Plus
Sheet Author
Compendium Curator
The link doesn't work. &nbsp;And to make sure I understand what you're talking about...you want a macro that has a pop-up window where you can select which spell to use?
1484594018
The Aaron
Pro
API Scripter
Link should be:&nbsp; <a href="https://youtu.be/rrbqdkGIa00" rel="nofollow">https://youtu.be/rrbqdkGIa00</a>
Finderski said: The link doesn't work. &nbsp;And to make sure I understand what you're talking about...you want a macro that has a pop-up window where you can select which spell to use? Finderski, I actually was just trying to make a macro that would cast all of the spells listed in the Damage Spells section of the character sheet. &nbsp;I was going to attach the macro to a token so that when I clicked the token, I could cast the spells. Your idea of a window popping up to select a spell from is much better but way beyond my understanding of macros. &nbsp;I don't understand programming well and am trying to copy a macro supplied by the character sheet developer but I'm doing something wrong. I'm not sure why the link doesn't work. &nbsp;I pulled it directly off of Youtube's share. &nbsp;Maybe this will work. &nbsp;<a href="https://www.youtube.com/watch?v=rrbqdkGIa00" rel="nofollow">https://www.youtube.com/watch?v=rrbqdkGIa00</a>
1484595000
Finderski
Plus
Sheet Author
Compendium Curator
I'm not certain why the _0_ isn't working...it should and we may need to open post in the Bugs forum. &nbsp;However, if you have the Quick macro bar enabled, you can drag the button next to the spell to the quick macro bar and it will show you the unique ID for that repeating item. &nbsp;It would look something like this: That crazy-long string of numbers and letters where the 0 would normally be is the unique id. You could replace all the 0's with that (including the preceding minus sign) and that will fix it. &nbsp;It worked for me, and the code looks like this: &{template:soliddamage} {{name=@{character_name}}} {{weapon=@{repeating_dmgspells_-KZMZg3FaTxh5ocV7sOi_Spell}}} {{damage_type=@{repeating_dmgspells_-KZMZg3FaTxh5ocV7sOi_NoSpllDmgDice}@{repeating_dmgspells_-KZMZg3FaTxh5ocV7sOi_SDmgType}+@{repeating_dmgspells_-KZMZg3FaTxh5ocV7sOi_SDmgMod}}} {{damage=[[@{repeating_dmgspells_0_NoSpllDmgDice}@{repeating_dmgspells_-KZMZg3FaTxh5ocV7sOi_SDmgType} + @{repeating_dmgspells_-KZMZg3FaTxh5ocV7sOi_SDmgMod}[Spell Damage] + @{dmgmod}[Damage Modifier] + 1d@{repeating_dmgspells_-KZMZg3FaTxh5ocV7sOi_SDmgRaise}[Bonus Damage]]]}} {{raise=@{repeating_dmgspells_-KZMZg3FaTxh5ocV7sOi_SDmgRaise}}} {{dmgmod=@{dmgmod}}} You, of course, would not use the&nbsp;-KZMZg3FaTxh5ocV7sOi, because that's unique to Wiglaf. As for doing a drop down menu...I might be able to come up with something that will work for that...give me a little bit to play around. :)
1484596366

Edited 1484596401
Finderski said: I'm not certain why the _0_ isn't working...it should and we may need to open post in the Bugs forum. &nbsp;However, if you have the Quick macro bar enabled, you can drag the button next to the spell to the quick macro bar and it will show you the unique ID for that repeating item. &nbsp;It would look something like this: That crazy-long string of numbers and letters where the 0 would normally be is the unique id. You could replace all the 0's with that (including the preceding minus sign) and that will fix it. &nbsp;It worked for me, and the code looks like this: &{template:soliddamage} {{name=@{character_name}}} {{weapon=@{repeating_dmgspells_-KZMZg3FaTxh5ocV7sOi_Spell}}} {{damage_type=@{repeating_dmgspells_-KZMZg3FaTxh5ocV7sOi_NoSpllDmgDice}@{repeating_dmgspells_-KZMZg3FaTxh5ocV7sOi_SDmgType}+@{repeating_dmgspells_-KZMZg3FaTxh5ocV7sOi_SDmgMod}}} {{damage=[[@{repeating_dmgspells_0_NoSpllDmgDice}@{repeating_dmgspells_-KZMZg3FaTxh5ocV7sOi_SDmgType} + @{repeating_dmgspells_-KZMZg3FaTxh5ocV7sOi_SDmgMod}[Spell Damage] + @{dmgmod}[Damage Modifier] + 1d@{repeating_dmgspells_-KZMZg3FaTxh5ocV7sOi_SDmgRaise}[Bonus Damage]]]}} {{raise=@{repeating_dmgspells_-KZMZg3FaTxh5ocV7sOi_SDmgRaise}}} {{dmgmod=@{dmgmod}}} You, of course, would not use the&nbsp;-KZMZg3FaTxh5ocV7sOi, because that's unique to Wiglaf. As for doing a drop down menu...I might be able to come up with something that will work for that...give me a little bit to play around. :) Thank you for the help! I don't know enough yet to know what the unique id is but I'll work on figuring that out. I didn't know that you can drag a macro to the quick macro bar. &nbsp;If I understand, the code that you pasted in would allow me to select a token and then the macro in my quick macro bar would work for the selected character? &nbsp;The approach I envisioned was that I would select the token and the set of macros appearing for the token would be based on the attributes and abilities tab on the character sheet. &nbsp;The only thing that I need is for the macros to be based on the selected character since I'm the GM. It would be awesome if someone would put together a series of videos about how to use the Savage Worlds character sheets and how to make custom macros that work with the Savage Worlds character sheet.
1484596863
Jakob
Sheet Author
API Scripter
Finderski said: I'm not certain why the _0_ isn't working... Because you need to use $0 instead of 0, probably?
1484597032
Finderski
Plus
Sheet Author
Compendium Curator
Chris L. said: Thank you for the help! I don't know enough yet to know what the unique id is but I'll work on figuring that out. I didn't know that you can drag a macro to the quick macro bar. &nbsp;If I understand, the code that you pasted in would allow me to select a token and then the macro in my quick macro bar would work for the selected character? &nbsp;The approach I envisioned was that I would select the token and the set of macros appearing for the token would be based on the attributes and abilities tab on the character sheet. &nbsp;The only thing that I need is for the macros to be based on the selected character since I'm the GM. It would be awesome if someone would put together a series of videos about how to use the Savage Worlds character sheets and how to make custom macros that work with the Savage Worlds character sheet. When you drag the button to the quick bar, the button that is added to the quick bar will include the unique ID (as shown in the image above). Once you have that, you can then create the macro on the Abilities and Attributes tab and delete it from the Macro Quick Bar. I only mention dragging it to the quick bar, because it will show you the unique id. Something else that would make the macro easier to write would be to use this: %{Wiglaf the Hearthkeeper|repeating_dmgspells_-KZMZg3FaTxh5ocV7sOi_tSpell} You'd need to change the character's name to whatever your character's name is, and also change the unique id, but that follows the exact same code as if you'd pressed the actual button the character sheet. As for making a video...not sure I have the software for that...nor the time, but maybe some day I'll try to do that.
1484597108
Finderski
Plus
Sheet Author
Compendium Curator
Jakob said: Finderski said: I'm not certain why the _0_ isn't working... Because you need to use $0 instead of 0, probably? LOL - that too! I forgot about that, and have just been using the unique identifier because then I can rearrange things and not have to worry about it. :)
1484600039

Edited 1484600589
Finderski said: Chris L. said: Thank you for the help! I don't know enough yet to know what the unique id is but I'll work on figuring that out. I didn't know that you can drag a macro to the quick macro bar. &nbsp;If I understand, the code that you pasted in would allow me to select a token and then the macro in my quick macro bar would work for the selected character? &nbsp;The approach I envisioned was that I would select the token and the set of macros appearing for the token would be based on the attributes and abilities tab on the character sheet. &nbsp;The only thing that I need is for the macros to be based on the selected character since I'm the GM. It would be awesome if someone would put together a series of videos about how to use the Savage Worlds character sheets and how to make custom macros that work with the Savage Worlds character sheet. When you drag the button to the quick bar, the button that is added to the quick bar will include the unique ID (as shown in the image above). Once you have that, you can then create the macro on the Abilities and Attributes tab and delete it from the Macro Quick Bar. I only mention dragging it to the quick bar, because it will show you the unique id. Something else that would make the macro easier to write would be to use this: %{Wiglaf the Hearthkeeper|repeating_dmgspells_-KZMZg3FaTxh5ocV7sOi_tSpell} You'd need to change the character's name to whatever your character's name is, and also change the unique id, but that follows the exact same code as if you'd pressed the actual button the character sheet. As for making a video...not sure I have the software for that...nor the time, but maybe some day I'll try to do that. I'm sorry to be so dense but I couldn't get it to work by copying the macro from the Quick Bar. &nbsp;It went back to 2d4 with no raise. &nbsp;I don't know if I'm doing it wrong. &nbsp;I used what you showed me above and changed the name and the unique ID. I was able to get it to work by replacing the 0 with $0 though. &nbsp;I guess that solves the problem but if you guys are patient enough, I would like to understand why the other technique didn't work. Also, do you have any idea how to get the notes for the spells to show up in the macro. &nbsp;In other words, I cast the spell and the macro rolls the dice but also displays the notes so that I can quickly see if the target gets a saving throw or something like that. Again, thanks to everyone who is helping me.
1484602109
Finderski
Plus
Sheet Author
Compendium Curator
Chris L. said: &lt;snip&gt;I would like to understand why the other technique didn't work. I'd need a screenshot of your quick macro bar and what you put in the Attributes & Abilities macro. Chris L. said: Also, do you have any idea how to get the notes for the spells to show up in the macro. In other words, I cast the spell and the macro rolls the dice but also displays the notes so that I can quickly see if the target gets a saving throw or something like that. If you're using the roll template (which it looks like you are) just add this to the macro: {{notes=@{repeating_dmgspells_$0_DmgSpellNotes}}} So, the whole macro would look like this: &{template:soliddamage} {{name=@{character_name}}} {{weapon=@{repeating_dmgspells_$0_Spell}}} {{damage_type=@{repeating_dmgspells_$0_NoSpllDmgDice}@{repeating_dmgspells_$0_SDmgType}+@{repeating_dmgspells_$0_SDmgMod}}} {{damage=[[@{repeating_dmgspells_$0_NoSpllDmgDice}@{repeating_dmgspells_$0_SDmgType} + @{repeating_dmgspells_$0_SDmgMod}[Spell Damage] + @{dmgmod}[Damage Modifier] + 1d@{repeating_dmgspells_$0_SDmgRaise}[Bonus Damage]]]}} {{raise=@{repeating_dmgspells_$0_SDmgRaise}}} {{dmgmod=@{dmgmod}}} {{notes=@{repeating_dmgspells_$0_DmgSpellNotes}}}
1488776648
Dan
Pro
Marketplace Creator
Wow... thanks for all the kind words and shares. Just randomly came across this and thought I'd chime in. If you are using macros from a sheet (any game, doesn't matter), all you need to do is roll the macro from the sheet like normal, click on text box and press the up arrow key, copy that into a new ability under the attributes and abilities section on the sheet in question, and finally check the little box that says show as token action. Cheers! Cody