Ok, creating a read-based stat. Basically worked just as described in the tutorial. Some issues, though.
Value expression:
(cnt_p_limp_raise / cnt_p_limp_faceraise) * 100
Format expression:
if(cnt_p_limp_raise > 0,
format('LimpRaised {1}', format_number(cnt_p_limp_raise , 0, false, false)), '')
1: Is the Value expression actually used anywhere, other than showing the times/opportunities in the tooltip? Should the Format expression always override it?
2: If I have 0 opportunities, the stat will display a - which I don't like, I assume it's because of the value expression. With more than 0 opportunities the if-clause from the Format kicks in and displays zero. Is there a way to overcome this? I tried putting an if clause to the Value expression (if (cnt_p_limp_faceraise>0,...) but then I lose the times/opportunities which I'd like to keep.
3: Is there a way of adding a newline to the stat itself? I tried format('LimpRaised {1}\n' ...) with obviously no luck. I'd rather not use the newline in the HUD editor if possible, so the height of the stat box doesn't grow if no "reads".
4: Is there a way to refer to another statistic in the format expression? Tried if (#Hands# > 100, ....) with no luck (it validates though).
