Jump to content
yonose

Diary Record, color not working

Recommended Posts

I tried doing this trough the Create Diary Record module and a briefing.sqf.

 

Problem is that i can't get the <t color ='#ff0000'>Text</t> to show the correct color, I can see the text, but in white.

I been looking at countless threads about briefing.sqf, Create Diary Record etc, on the color code, it all shows the <t color ='#ff0000'>Text</t>, but i cant get it to work somehow.

 

This is what i use in the module:

Muzzle velocity colorcode: <br/> 
<t color ='#ff0000'>Red = greater than 75%</t> <br/> 
<t color ='#faff00'>Yellow = greater than 50%</t> <br/> 
<t color ='#00b20e'>Green = greather than 25%</t> <br/> 
<t color ='#0044b2'>Blue = lower than 25%</t> <br/> 
<t color ='#ffffff'>White = lower than 10%</t> <br/>

 

Share this post


Link to post
Share on other sites

Haha wow, okey, thank you for the heads up!

 

I dont know where i got the "t" from, but it felt correct somehow.

 

This is correct and works:

 <font color='#faff00'>Yellow = greater than 50%</font>

 

  • Like 1

Share this post


Link to post
Share on other sites

Just to answer your question about "t": It means text and it works for parsed text like in:

hint parseText "<t color='#faff00'>Yellow = greater than 50%</t>". It's often used in display resource. Diary record has its own rules...

 

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×