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

Help understanding nested Macros?

Ok so I wanted to create simple macro for our cleric (PF2) to help them to cast heal quickly. She struggles with the character sheet and math. The spell has three ways to cast 1 action, 2 action or 3 actions. So I created a simple macro that asks the level, the number of actions and the healing dice size (it can differ). I understand that since I nest macros I need to use HTM characters...fine. I get it working, I save it...when I reopen it all the HTM characters are gone and it does not work any more? Is this really the way it works..meaning every time I want to edit I have to replace the HTM characters? I am really hoping I am missing something...
1587059004

Edited 1587059014
GiGs
Pro
Sheet Author
API Scripter
Yes, that's how it works - if you store it in your macros collection. A way to get around this many people use is to create a character sheet, call it something like Macros, and store such macros as Abilities on that sheet. Abilities dont have this issue - the html characters dont get replaced. The technique has other advantages (like being able to transport macos between your different campaigns), and is described here:&nbsp; <a href="https://app.roll20.net/forum/post/5899495/stupid-roll20-tricks-and-some-clever-ones/?pageforid=7605679#post-7605679" rel="nofollow">https://app.roll20.net/forum/post/5899495/stupid-roll20-tricks-and-some-clever-ones/?pageforid=7605679#post-7605679</a> One thing that I dont think is mentioned there: if you intend for players to use these abilities, Edit the macro character and set its Editable By to All Players. Leave the Visibile To as normal, so its not visible to players. This means the character sheet wont show up for them in their collection, so they cant actually edit it, but they can run the macros.
thanks! I still struggle with nested macros and the htm characters. While they do not go away it can not seem to get them to work at all any more. Is there something different you need to do?
1587063547
GiGs
Pro
Sheet Author
API Scripter
If they worked once, they should work again when you restore them. But I avoid using nested macros - i prefer Chat Menu Buttons:&nbsp; <a href="https://app.roll20.net/forum/post/5899495/stupid-roll20-tricks-and-some-clever-ones/?pageforid=5927072#post-5927072" rel="nofollow">https://app.roll20.net/forum/post/5899495/stupid-roll20-tricks-and-some-clever-ones/?pageforid=5927072#post-5927072</a> especially since i wrote a script to make them easier to use (if your character sheet has built-in roll buttons):&nbsp; <a href="https://app.roll20.net/forum/post/7474530/script-call-for-testers-universal-chat-menus/?pagenum=1" rel="nofollow">https://app.roll20.net/forum/post/7474530/script-call-for-testers-universal-chat-menus/?pagenum=1</a>
So I got the chat thing to work with buttons I am not a big fan of having that spammed in my chat as we play. Is there any way to do buttons like that not in chat? like a pop up?
1587065387
GiGs
Pro
Sheet Author
API Scripter
There's no way to do that outside of chat, unfortunately. But if you whisper it to yourself (or to whoever), it doesnt spam the chat for other players, and has the advantage that as long as its still on screen, you can click the buttons again.&nbsp;