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

how do i link a custom sheet to macro

There is a macro that already exists. If I press the button on the custom sheet, I want to output a macro that already exists.
1706128577
GiGs
Pro
Sheet Author
API Scripter
If you mean you have created a macro separate from the character sheet, there's no way to integrate that with the character sheet. Some sheets arebuilt with places where you can enter text, and you can enter the code to launch the macro. The character sheet coder has to go to special lengths to ensure that macro is probably recognised, so it would only work in places on the sheet designed for this. Normally this is done with a button on the sheet, and a text box to enter the code - the button then sends whatever is in that text box to chat, and this will run a macro. Another method is to use the Attributes & Abilities tab, and enter the macro as an ability there. The character sheet doesn't know anything about the contents of that shee t though. Which sheet are you using?