User Tools

Site Tools


crpl:docs:settextcolor

<- CRPL reference <- Text Commands

SetTextColor

ArgumentsResultNotation
Red Green Blue Alpha n1 n2 n3 n4 –

Description

Sets the color for the text from SetText to be displayed as. The four arguments range from 0 to 255.

Examples

# Set text to display as Yellow and 50% transparent:
"Hello Creeper World" SetText
255 255 0 128 SetTextColor

# Warp notation
SetText("Hello Creeper World")
SetTextColor(255 255 0 128)
crpl/docs/settextcolor.txt · Last modified: 2015/03/19 04:00 by warren