Jump to content
Sign in to follow this  
foxtin

Change color of Subtitles

Recommended Posts

 BIS_fnc_showSubtitle

 

will make a subtitle that looks like this: mbzKU1I.jpg

 

But because in my mission you play as a CSAT viper, I would like the blue Dragon to turn Red. 

["Dragon", "NATO forces are in the AO."] call BIS_fnc_showSubtitle; This is my code please help and thanks.

 

Share this post


Link to post
Share on other sites
["<t color='#FF0000'>Dragon", "NATO forces are in the AO."] call BIS_fnc_showSubtitle;

removing the:

</t>

behind "Dragon" also does the double dot thing ( : ) else it would have been blue.

Share this post


Link to post
Share on other sites

Like i said in my post above,

 

removing the:

</t>

behind "Dragon" also does the double dot thing ( : ) else it would have been blue.

Share this post


Link to post
Share on other sites

What R3vo means is, that you can't simply change the color when using the official BIS function. If you clone it / make your own / use the version from R3vo, of course you can overwrite the color there.

 

/Edit: I've just read up the post above. :> Yeah, ofc this works. But is only useful if you got but a hand full of lines, imo. For lots of text, I'd still modify the function.

Share this post


Link to post
Share on other sites

What R3vo means is, that you can't simply change the color when using the official BIS function. If you clone it / make your own / use the version from R3vo, of course you can overwrite the color there.

You can, JasperRab's solution works.

 

Edit:

/Edit: I've just read up the post above. :> Yeah, ofc this works. But is only useful if you got but a hand full of lines, imo. For lots of text, I'd still modify the function.

Why? Just save the "<t color='#FF0000'>Dragon" in a variable, it makes no difference. Unless you want to write the name in random rainbow colors ofc.

Share this post


Link to post
Share on other sites

Yeh, that's true.

 

 

By the way - the blue color isn't meant to be the side color, but the channel color (Side Channel). I've toyed around with changing the color by side too, but then it becomes inconsistent with the chat log in the bottom left corner, which made me revert the changes and just keep it with the defaut.

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
Sign in to follow this  

×