Minimum hands for HUD display

Discuss how to create custom stats, reports and HUD profiles and share your creations.

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Minimum hands for HUD display

Postby Blackbay » Thu Mar 31, 2022 11:34 am


I want to show some stats on my HUD only when a certain number of hand have been collected from a player.
I have made this work with the formula below, but the problem now is that PT will not show the number of opportunities on the mouse-over popup.

if ((cnt_hands - cnt_walks) > 100, (cnt_p_3bet / cnt_p_3bet_opp) * 100, '')

Any suggestion on this?

Posts: 4
Joined: Sun May 02, 2010 3:48 pm

Re: Minimum hands for HUD display

Postby Flag_Hippo » Fri Apr 01, 2022 5:00 am

That's working for me. Where exactly are you using this? In order for the times/opportunities values to appear in tooltips the 'Value Expression' for a statistic needs to be in the following format:

Code: Select all
(a / b) * 100

so if you are putting your code directly in the 'Value Expression' of a statistic that's not going to work and you should instead use the 'Format Type' field for your condition:

blackbay.PNG (6.09 KiB) Viewed 196 times
Posts: 13371
Joined: Tue Jan 31, 2012 7:50 am

Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: acatar and 20 guests