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

Macro Help

I am playing a 3.5e campaign and was wondering if there was a repeating macro to pull spells from a character sheet without using the entire macro? I know 5e has one that looks like %{selected|repeating_spell_$0_spell}, but is there one for the default 3.5 sheet?
Yes, there is. If you stop your mouse cursor on the dice icon for rolling the spell, you'll see the name of the attribute. It should be something like "repeating_spells02_#_spellcast02". The same "get to know the roll name" can be used for any roll you may need to make.
Felipe said: Yes, there is. If you stop your mouse cursor on the dice icon for rolling the spell, you'll see the name of the attribute. It should be something like "repeating_spells02_#_spellcast02". The same "get to know the roll name" can be used for any roll you may need to make. I tried that, but for some reason I keep getting errors. Could this be because all the spells per level have the same roll name? Like all cantrips have "repeating_spells01_#_spellcast01" and all lvl 1 spells have "repeating_spells02_#_spellcast02" for their names. None of them are individualized.
Even the trick to roll it from the sheet and then recall the last message sent from the chat box just gives me the full spell macro.
1588775452

Edited 1588775533
Kraynic
Pro
Sheet Author
I expect you need to change the "#" part of that name.  Hover text would be giving you a generic attribute name, not a dynamic one that responds to what row it is on.  A repeating section roll will have 3 parts separated by underscores: 1: Repeating section name like repeating_spells01 2: Row ID, which is a random string of letters/numbers which is a unique id generated when a row is created.  That will call the same row even if it is moved within the repeating section.  There is also a shorthand to call the row number.  If you use row number, it starts counting at 0 and would look like $0.  Increase that number for each step down the repeating section you go.  If you reorder the section, this will not call the same spell as with id, but just whatever ends up in that row slot. 3: The roll button name to trigger the macro built into that repeating section. Using your examples from your first 2 posts to call the first spell (row) would probably look like this: %{selected|repeating_spells01_$0_spellcast01} You would need to have a token selected to use this.  If this is for a specific character, you could just replace selected with the character name, and it would roll without having a token selected at all.  If you want to have the exact row id in your macro instead of the shorthand, the easiest way to get it is to enable the macro quick bar, drag the spell to that bar.  Roll the spell, then hit the up arrow with your cursor in chat.  It should give you this type of format on the command, but with the exact row id instead of just row number. I don't use that sheet, so I'm just going from your examples.  Hopefully that gets you going.
Thanks, i didn't think to try replacing the # with the row designator.