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

[5e Shaped] Calling/Casting, from macro, a specific spell from roll20 D&D 5e sheet

March 23 (9 years ago)

Edited March 23 (9 years ago)
Any help you all can supply would be greatly appreciated.

I've created a Warlock character for D&D 5e using the roll20 5e character sheet/template. What I'd like to be able to do is set up a macro to do an emote, then immediately and automatically call a specific spell (his first listed cantrip) as though I'd clicked on the spell to cast it. I can't for the life of my figure out how to do the spell calling part.

/emas "Frederich" does something totally worth reading.
??? command to cast his "Eldritch Blast" spell as though I'd clicked on it 

Nevermind, all. I figured it out!

/emas "Frederich" does something totally worth reading.
%{Frederich|repeating_spell-cantrip_$0_spell}
March 23 (9 years ago)
Pat S.
Forum Champion
Sheet Author
Just remember that "/emas" is GM only command. If you want a player able macro you will have to use

/me does something totally worth reading.
%{Frederich|repeating_spell-cantrip_$0_spell}

With the character sheet  named "Frederich" or the player named as "Frederich".
March 23 (9 years ago)
Thanks for that tip, Pat!
April 01 (9 years ago)
Resurrecting this thread, as a game I play in recently switched to the DnD5e Shaped Character Sheet and I don't seem to be able to call a specific spell any longer via macro. For example:

/me cradles his crystal in his left hand and, gazing into it, utters a phrase of magic. An image of @{target|token_name} forms within the crystal. With wide eyes, Frederich utters the final stanza of magic and slaps his right hand atop the crystal, squeezing with all his might.
%{Frederich|repeating_spell-2_$2_spell}

No ability was found for %{Frederich|repeating_spell-2_spell}

I see the repeating_weapon macros called out on this sheet's Wiki (linked above), but the Spell sections of the Wiki are blank. Is this a work in progress, or is there just no support for spell macros?
April 01 (9 years ago)

Edited April 01 (9 years ago)
The Shaped sheet has very recently undergone massive overhaul, and the Roll20 Wiki page for the Shaped sheet has yet to address most of the changes made. Both the Shaped sheet itself and its Wiki page are written and maintained by the Roll20 Community. Once the Shaped sheet settles into a more stable release version, I have faith that the Roll20 Community will strive to get the documentation up to date.

If you have any specific questions, concerns or feedback regarding the Shaped sheet, I highly recommend posting them in the most recent thread that the sheet's author, Kryx, has posted up to the Character Sheet forum. Presently, that would be this thread: [5e Shaped] 2.2.24+

I believe %{keyword|repeating_spell_ID_spell} is the current Ability call for all sheet buttons under the Spells tab (i.e. the sheet no longer differentiates between spell levels).
April 02 (9 years ago)
Thanks, Silvyre! That worked!

Changed From: %{Frederich|repeating_spell-2_$2_spell}
Changed To:      %{Frederich|repeating_spell_$3_spell}
April 06 (9 years ago)
Kryx
Pro
Sheet Author
API Scripter
Keep in mind that spells have emote built in so you can just use that as well.
April 06 (9 years ago)

Kryx said:

Keep in mind that spells have emote built in so you can just use that as well.

Right, but I want a variety of pre-canned emotes, hence the macro'd calls. Unless there's a way to enter them all into the emote field and prompt for which to use when casting?
April 06 (9 years ago)

Edited April 06 (9 years ago)
Kryx
Pro
Sheet Author
API Scripter
You could write it in a query. 
?{Which emote?|die scum!,shouts 'die you evil scum!'|Ponies,loves magical ponies!}
Put that query in the emote field and you're good to go.
See https://wiki.roll20.net/Dice_Reference#Roll_Queri... for more info
April 06 (9 years ago)

Kryx said:

You could write it in a query. 
?{Which emote?|die scum!,shouts 'die you evil scum!'|Ponies,loves magical ponies!}
Put that query in the emote field and you're good to go.
See https://wiki.roll20.net/Dice_Reference#Roll_Queri... for more info

Awesome! Thanks, Kryx!