Does anyone know why this little script does not work. Any obvios mistakes?
Dim TextObj as xpTextObject
Dim material as xpMaterial
Self.GetObjectByName(“Text1”, TextObj) (getting the text object)
Engine.GetMaterialByName("farve_a", material) (getting the new colour)
TextObj.SetMaterial(0, material) (setting the new colour on the textobject)
I’m trying to change the face colour om some text.