SphereCommunity
[Solved] Font color on tooltips - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: [Solved] Font color on tooltips (/Thread-Solved-Font-color-on-tooltips)



[Solved] Font color on tooltips - Chris_T - 11-28-2012 09:26 PM

How do I edit the text color on these tooltips?

On=@ClientTooltip
SRC.ADDCLILOC 500255,

I know it can be done, but can't find out how =P



EDIT: Thanks Mordaunt.


RE: Font color on tooltips - Mordaunt - 11-29-2012 01:17 AM

Only certain clilocs may be edited, others are fixed.
2 you can edit are:

1042971
1070722

There are others but off the top of my head I couldn't name them.
To edit it is simply

Code:
ON=@ClientToolTip
src.addcliloc 1070722, <DEF.BFONT_RED>your text here

You can also do this:

Code:
ON=@ClientToolTip
src.addcliloc 500255
src.addcliloc 1070722, <DEF.BFONT_RED>your text here

Which will add your text in the tool tip under the original text.
The color comes from the [DEFNAME def_html] settings in your spheredefs.scp