Index

SetObjTextColor

SetObjTextColor(<-Unit “ObjName” <-color)

Description

Sets color of an object's text. Objects are the sub-parts that make up a unit. If the text has not yet been created by a call to SetObjText, this call will create it with default text.

Examples

SetObjTextColor(self "text" V4(1 0 0 1))

Index