Set a text color for the display_msg function.

Mulligun

Still Mildly Glowing
Is there a way to set a text color for the display_msg function? Does the display_msg function handle the new line sequence?
 
As far as I know it's not possible to change the color of the display_msg text.
There seems to be no way to pass an argument for color changing
Code:
display_msg(mstr(x))

The floater instead can change the text color
Code:
float_msg(self_obj, message_str(NAME,x), FLOAT_COLOR_NORMAL)
Maybe you can try to combine
Code:
display_msg(mstr(x))
with
Code:
float_msg(self_obj, message_str(NAME,x), FLOAT_COLOR_NORMAL)
to create
Code:
display_msg(mstr(x), FLOAT_COLOR_NORMAL)
I don't know if this works.

I think that the color of
Code:
display_msg(mstr(x))
i
s defined in the engine. Maybe it's hackable.
 
Last edited:
Back
Top