cerea2:build:colors
Use of colors in SendMessageToPC
to print out sString in colors:
“<color=black>”+sString+“</color>”;
“<color=blue>”+sString+“</color>”;
“<color=brown>”+sString+“</color>”;
“<color=cyan>”+sString+“</color>”;
“<color=lightgreen>”+sString+“</color>”;
“<color=lightgrey>”+sString+“</color>”;
“<color=magenta>”+sString+“</color>”;
“<color=orange>”+sString+“</color>”;
“<color=red>”+sString+“</color>”;
“<color=white>”+sString+“</color>”;
“<color=yellow>”+sString+“</color>”;
There are a number of colours which can be found in the constants part of the helper. You can also replace the colour with a hex value.
<b> and <i> also work for bold and italics.
A list of all colors can be found in nwn2_colors.2da.
cerea2/build/colors.txt · Last modified: 2015/05/03 12:32 by 127.0.0.1