How to display action / opportunities on custom stat

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

Moderators: WhiteRider, kraada, Flag_Hippo, morny

How to display action / opportunities on custom stat

Postby Manu_O » Tue May 15, 2018 11:15 am

Hi,

I would like to display the "value : action / opportunities" when I drag the mouse over my custom stat (see attached file).

I tried to change the format type as "Expression" and entered the value : format_number( (action / opp) , 1 , true , true )

But like that it doesn't work.

I don't want to use the "show times / opportunities" of the profile editor. I want it like it is displayed in the attached file.

How could I do that ?

Thank you !
Attachments
What I need to display.png
What I need to display.png (1.04 KiB) Viewed 56 times
Manu_O
 
Posts: 12
Joined: Fri Apr 30, 2010 4:21 pm

Re: How to display action / opportunities on custom stat

Postby Flag_Hippo » Tue May 15, 2018 8:10 pm

In order for the times/opportunities values to appear in the tooltip for your custom statistic the value expression for your stat needs to be in the following format:

(a / b) * 100
Flag_Hippo
Moderator
 
Posts: 4702
Joined: Tue Jan 31, 2012 7:50 am

Re: How to display action / opportunities on custom stat

Postby Manu_O » Wed May 16, 2018 11:13 am

All right, thank you Flag !
Manu_O
 
Posts: 12
Joined: Fri Apr 30, 2010 4:21 pm


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 1 guest

cron
highfalutin