Is it possible to change font colour? [SOLVED]

Started by Bhup, Tue 01/02/2005 20:36:27

Previous topic - Next topic

Bhup

Greetings,  :)
I have looked in the manual but can't find anything on changing the font colour. One of my characters speech text is black and I have to put an outline on it to show against the background but the speech text comes out blurred/smudgy.  So I want to either change the outline colour or the inside colour of the text.

The only think I can come up with is a

Code: ags
SetLabelColor


But I don't know what GUI number to put in or the object number.  If the latter is refering to 'objects in the room' then this is the wrong command as I need it for the speech text.

Can anyone help???
Bhup

Necro

Its in the manual...

SetTalkingColor (CHARID, int newcolor)

Changes the character CHARID's speech text color to NEWCOLOR. This could be useful if in a particular room, the background colour is very similar to the speech colour, so you can override it using this function.
NEWCOLOR is the colour slot index from 0 to 255.

Example:

SetTalkingColor (EGO, 14);

will change the character's EGO talking color to yellow.

Bhup

#2
Thanks Necro,
I knew someone would say it was in the manualÃ,  ::)
Just gotta look harder. Anyway it works perfectly!Thanks againÃ,  ;)
Bhup

Khris

You can change the color in the character editor, too.

It's in the right column, Talking colour:Ã,  Ã,  Ã,  [Ã,  Ã,  Ã,  Ã,  Ã, ]

Ishmael

Quote from: khrismuc on Wed 02/02/2005 13:08:13
You can change the color in the character editor, too.

It's in the right column, Talking colour:Ã,  Ã,  Ã,  [Ã,  Ã,  Ã,  Ã,  Ã, ]


Yeah, but you can't do that in runtime.
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

SMF spam blocked by CleanTalk