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 you create a button on a character sheet to call a scriptcard?

I've got a scriptcard macro that I want to call from the character sheet via a button. Can this be done? !scriptcard {{ --#title|@{selected|token_name} makes a Panic Check --=PC1|1d6 --+Roll|[$PC1] --=Stress|@{selected|character_stress} --+Stress|[$Stress] --?[$PC1] -gt [$Stress]|>Panic --+|@{selected|token_name} did not panic. [$PC1] > [$Stress] --^Final| --:Panic| --+|@{selected|token_name} panicked! [$PC1] > [$Stress] --=PC2|[T#Panic-Check] --+|[b][$PC2.tableEntryText][/b] --vtoken|@{selected|token_id} nova-frost --@token-mod|_ids @{selected|token_id} _set bar1_value|+1 bar2_value|[$PC2] --=Stress|@{selected|character_stress} --+Stress|[$Stress] --:Final| }}
1695398140

Edited 1695398562
You can add the script card to the Attributes and Abilities tab of the character sheet and then select the Show as Token Action checkbox You'll want the Token Action since that will show up when you've selected the token of the character which that ScriptCard needs since you have @{selected} in there.