The Dink Network

Reply to Re: Main dialogue colour

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
February 8th 2013, 11:50 AM
goblins.gif
I'm not really sure where it's originally determined ( I guess at the beginning of the game sometime), but I believe it can be changed like so:

//color index is the number that would appear after the ` in the beginning of say()
//red, green and blue are numbers between (0-255)
set_font_color(Color index, red, green, blue)


Just bear in mind that any changes made are not saved with the savegame data.
Also, I can't quite remember what Dink's default number is, but it's seems to either be based on the default colors table: `! `@ or `$

edit: It's `$, or maybe 14 is what the script wants

EDIT: Okay yeah it would be
set_font_color(14, red, green, blue);
then you have your own default color