Available Trophy Point Sum

j0e

Member
Does anyone know whether or not there is a variable for the total number of available trophy points? If not, how would you go about summing the current number of trophy points.

I am asking because I want to divide current points ($user.trophy_points) by max available points to get a percentage.
 
I don't think the total value is exposed as a var.

You can manually sum the trophy points and use that in the calculation.
I figured as much. I was hoping to have the number be dynamic rather than having to change it every time a new trophy is added. I can probably throw something together though. Appreciate it!
 
Back
Top Bottom