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

Can a button be added to a power card?

1589894209

Edited 1589894334
see heading This is for a non-DnD game.
1589895207
Andreas J.
Forum Champion
Sheet Author
Translator
What "power card" are you referring to? I know there is a PowerCard API script, but as it requires Pro subscription, which you don't seem to have, I assume you're talking about something else. With the PowerCard API, I think the answer might be "No".
I have access to the Pro features by virtue of being a co-GM in a campaign being ran by someone who has a Pro subscription.
1589896269
Kraynic
Pro
Sheet Author
You might want to head to the API forum and ask in the thread for that API script (or see if there is something already in that thread that would help):&nbsp; <a href="https://app.roll20.net/forum/post/7136858/script-powercards-3-thread-6/?pagenum=1" rel="nofollow">https://app.roll20.net/forum/post/7136858/script-powercards-3-thread-6/?pagenum=1</a>
1589897445
Andreas J.
Forum Champion
Sheet Author
Translator
The wiki have quite a bit of documentation on Power Cards, you might find you answer there. <a href="https://wiki.roll20.net/Power_Cards" rel="nofollow">https://wiki.roll20.net/Power_Cards</a>
Here's a "Combat Actions" menu I created for one of my players.&nbsp; It has lots of conditions built in to display the buttons that are appropriate (e.g., whether the character is raging or not). !power {{ --tokenid|@{selected|token_id} --whisper|@{selected|token_name},GM --format|atwill --name|@{selected|character_name}'s ^^Combat Actions --leftsub|Level @{selected|level} @{selected|class} -- ?? @{selected|inspiration} == on ?? !Inspiration|~C**$$#b600b6|Inspiration is available$$**~C -- ?? @{selected|rage_status} == 0 ?? !MA|~C** Melee Attacks (Not Raging) **~C ~C[Cenadril](!&amp;#13;#MA-Cenedril) [Rapier](!&amp;#13;#MA-Rapier)~C ~C[Scimitar](!&amp;#13;#MA-Scimitar) [Shortsword](!&amp;#13;#MA-Shortsword)~C ~C[Fist](!&amp;#13;#MA-Fist)~C -- ?? @{selected|rage_status} == 1 ?? !MA|~C** Melee Attacks (Raging) **~C ~C[Cenadril](!&amp;#13;#MA-CenedrilRage) [Rapier](!&amp;#13;#MA-RapierRage)~C ~C[Scimitar](!&amp;#13;#MA-ScimitarRage) [Shortsword](!&amp;#13;#MA-ShortswordRage)~C ~C[Fist](!&amp;#13;#MA-FistRage)~C -- ?? @{selected|rage_status} == 0 AND @{selected|rage} &gt; 0 ?? !RageOn|~C** Rage **~C~C[Start Raging](!&amp;#13;#TA-RageUse) (@{selected|rage} left)~C -- ?? @{selected|rage_status} == 0 AND @{selected|rage} == 0 ?? !RagesExpended|~C** Rage **~C~C//You will have to take a **Long Rest** before raging again.//~C -- ?? @{selected|rage_status} == 1 ?? !RageOff|~C** Rage **~C~C[Stop Raging](!&amp;#13;#TA-RageOff)~C --!IA|~C** Improvised Attacks **~C ~C[Improvised Melee Attack](!&amp;#13;#IA-Melee)~C ~C[Improvised Ranged Attack](!&amp;#13;#IA-Ranged)~C ~C[Holy Water](!&amp;#13;#IA-HolyWater) [Acid](!&amp;#13;#IA-Acid)~C ~C[Alchemist's Fire](!&amp;#13;#IA-AlchFire) [Oil](!&amp;#13;#IA-Oil)~C --!OCA|~C** Other Combat Actions **~C ~C[Ready an Action](!&amp;#13;#OCA-Ready) [Help](!&amp;#13;#OCA-Help)~C ~~~ ~C[Dash](!&amp;#13;#OCA-Dash) [Disengage](!&amp;#13;#OCA-Disengage) [Hide](!&amp;#13;#OCA-Hide)~C ~C[Escape Grapple](!&amp;#13;#OCA-GrappleEscape) [Stand Up](!&amp;#13;#OCA-StandUp)~C ~~~ ~C[Climb Onto](!&amp;#13;#OCA-ClimbOnto) [Grapple](!&amp;#13;#OCA-Grapple)~C ~C[Shove](!&amp;#13;#OCA-Shove) [Shove Aside (disadv)](!&amp;#13;#OCA-ShoveAside)~C ~C[Overrun](!&amp;#13;#OCA-Overrun) [Tumble](!&amp;#13;#OCA-Tumble)~C }} Output:
With all due respect, I checked that link several times, went over it with a fine toothed comb, and couldn't find the answer.&nbsp; It was only after that that I posted a question here.&nbsp; Whether my in ability to find my answer there is due to the answer not being there or to me not understanding what I was reading I cannot say, but I can say that I always do my utmost to search for an answer on my own before I post here. Respectfully, can anybody here explain or point me to a place where I can learn how to put a button inside a power card?
Brian N. said: With all due respect, I checked that link several times, went over it with a fine toothed comb, and couldn't find the answer.&nbsp; It was only after that that I posted a question here.&nbsp; Whether my in ability to find my answer there is due to the answer not being there or to me not understanding what I was reading I cannot say, but I can say that I always do my utmost to search for an answer on my own before I post here. Respectfully, can anybody here explain or point me to a place where I can learn how to put a button inside a power card? Our posts may have crossed at the same time.&nbsp; Take a look at the example I give.&nbsp; If you aren't able to figure it out from that PM me and I'll see if I can explain it.&nbsp; A simpler example is this single line: --Buttons:|[Attack](!&amp;#13;#AttackMacro) where "Attack" is the button name and AttackMacro is a macro on the Collections tab.&nbsp; Note the !&amp;#13; is necessary to represent the leading "!"
Scott P. said: Brian N. said: With all due respect, I checked that link several times, went over it with a fine toothed comb, and couldn't find the answer.&nbsp; It was only after that that I posted a question here.&nbsp; Whether my in ability to find my answer there is due to the answer not being there or to me not understanding what I was reading I cannot say, but I can say that I always do my utmost to search for an answer on my own before I post here. Respectfully, can anybody here explain or point me to a place where I can learn how to put a button inside a power card? Our posts may have crossed at the same time.&nbsp; Take a look at the example I give.&nbsp; If you aren't able to figure it out from that PM me and I'll see if I can explain it.&nbsp; A simpler example is this single line: --Buttons:|[Attack](!&amp;#13;#AttackMacro) where "Attack" is the button name and AttackMacro is a macro on the Collections tab.&nbsp; Note the !&amp;#13; is necessary to represent the leading "!" Thank you so much!&nbsp; That's exactly what I need.