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

Setting up Hover Text to Streamline Games? (Specifically Pathfinder 2e)

December 19 (1 year ago)

Edited December 19 (1 year ago)

Hello
I am trying to run PF2E for myself and group of mostly new players.

One thing I would like to figure out to do is to allow a player to hover over Traits either in their character sheet or in the chat log to display the definition of said trait. It would also be useful for abilities that inflict Conditions.

Some members of my group can get overwhelmed easily by information overload, so I'd like to avoid making them tab out to a wiki page to learn what their own feats or weapons do.

Back in 1e, I set up a macro that popped up a query box where you would select the condition you wanted to know about from a drop down menu. Due to the amount of traits that can be on a single weapon or feat, this doesn't seem as feasible this time.

Does anyone have any suggestions on how I would go about doing this? I assume I would need to use roll20's custom sheet feature to do it? I don't know anything about coding, but I'm eager to learn.

December 19 (1 year ago)
GiGs
Pro
Sheet Author
API Scripter

You can't do this withjout a pro subscription.

Method 1 would involve directly editing the sheet, which honestly is not recommended (and isn't possiblewith By Roll20 sheets ayway).

Method 2 would be to seek a Mod Script solution. It is probably possible to do what you need or something approximating it this way.


You might be able to do it with a CSS extension like Stylus, which wouldn't need a pro subscription, but would need everyone to install the extension, and you'd need specific formatting for what you want to show up in popups.

A pro subscrition is not a problem, although I wonder what that sort of code would even look like. But I did start looking into learning javascript last night so I might be able to figure it out.


Still, I'm happy enough to know that its possible

December 19 (1 year ago)
Andrew R.
Pro
Sheet Author

You should make a post in the Suggestions forum, because that sounds useful in general. 

December 20 (1 year ago)

Edited December 20 (1 year ago)
Gauss
Forum Champion

One of the things I do is to use Queries in the attacks/damage or Chat Menu buttons very liberally with descriptions/notes. 

Example: 
If you have an option for a -5 adding +10 to damage you could put that in a query in the attack. 
If you have a post-attack option that they can initiate (such as a push), then I would make that into a Chat Menu button in the description/notes area. 
If a character sheet button has no description/notes area (*looks squarely at D&D 5e by Roll20 skills/saves*) then I make an Ability macro of the button and put in a whisper into the macro after the button portion of the macro. The whisper reminds the user/GM of any applicable options/abilities, or has a Chat Menu button for options/abilities.

If you provide specific ability examples I can be more specific in how to do that. 

December 21 (1 year ago)

Edited December 21 (1 year ago)


Gauss said:

One of the things I do is to use Queries in the attacks/damage or Chat Menu buttons very liberally with descriptions/notes. 


Oh that's useful. I'll be sure to do that.

Andrew R. said:

You should make a post in the Suggestions forum, because that sounds useful in general. 


Ah, sure. I'll be sure to do so.

As for an update, here's what I have so far.

Storing the definition of a trait inside the character sheet as an attribute, having a macro to whisper that definition to the player, and a button macro that can be pushed to activate that last macro.

Now I'd like to try and modify the character sheet to allow me to insert these button macros into the the Trait fields of weapons and feats, etc. Is that possible? Or is it impossible to for the character sheet to refer things in the Attributes & Abilities tab?


December 21 (1 year ago)

Edited December 21 (1 year ago)
Gauss
Forum Champion

Which part of the sheet do you want to insert this into? (specifics please, screenshot would help)

I would like to try and place them here and here


December 22 (1 year ago)
Gauss
Forum Champion

Lost Cassilda, 

I did some testing and yes you can stick chat buttons in the traits section. 
You can also stick it in the Notes or Description sections. 
I recommend using the section that is most visually appealing. 

Sometimes traits is full of stuff that would make a chat button there not visually appealing, especially in the attacks. 

I see, that is excellent news! Could you tell me how you did it?

December 22 (1 year ago)

Edited December 22 (1 year ago)
Gauss
Forum Champion

Exactly how you set up the Flourish button:

[button name](~character name or selected|command name)

December 22 (1 year ago)

Edited December 22 (1 year ago)

Really? When I try it, it just comes out as plain text. 

Edit: Silly me, I ended with an open bracket. I can't believe it was that simple all along

Thank you so much.