Page 1 of 1

Minimum hands for HUD display

PostPosted: Thu Mar 31, 2022 11:34 am
by Blackbay
Hi,

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?

Kim

Re: Minimum hands for HUD display

PostPosted: Fri Apr 01, 2022 5:00 am
by Flag_Hippo
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
blackbay.PNG (6.09 KiB) Viewed 341 times