Hi,
I am trying to add some new statistics into the HUD:
In this instance Turn Probe bet: "Definition": (cnt_t_probe / cnt_t_probe_opp) * 100 When I add this, only the % figure show up: e.g. 20. I want to insert the absolute numbers too: e.g. 20 (20/100)
format('{1}({2}/{3}',(cnt_t_probe / cnt_t_probe_opp) * 100,format_number(cnt_t_probe,0,false,false),format_number(cnt_t_probe_opp,0,false,false))
I have tried to follow your instructions in the user guide; but must be doing so incorrectly: Could you tell me, what I am doing wrong?
Could U also show me how to do this kind of custom statistic can be constructed, in a simpler manner. This is possible as is explained in the note below.
More realistically, you might use this format expression:
format( '{1}% ({2}/{3})', (cnt_steal_att / cnt_steal_opp) * 100, format_number(cnt_steal_opp,0,false,false), format_number(cnt_steal_att,0,false,false) )
..which would display as:
60% (12/20)
Note: this sort of thing is not necessary for use in the HUD as you can display times/opportunities in the HUD using the Statistic Properties.
Bal
