Celestia/Celx Scripting/CELX Lua Methods/CEL command setlabelcolor

setlabelcolor
setlabelcolor { item  color   } 

Set the color of labels to the given RGB color.

CELX equivalent:

Based on the celestia:setlabelcolor method.


 * Set the color for labels of  to the given RGB values in .

celestia:setlabelcolor(, , , )

Example: Set the label color for stars to RED and turn star labels on.

CEL:

setlabelcolor { item "stars" color [ 1 0 0 ] } labels { set "stars" }

CELX:

celestia:setlabelcolor("stars", 1, 0, 0) celestia:setlabelflags{stars = true}

Back to CEL command index