Different text display guis

Started by barefoot, Fri 26/11/2010 10:16:37

Previous topic - Next topic

barefoot

Hi

Iv'e been trying to find out if/how i could have a different text display box gui for each character.

I have one text gui box for all displays but would like to have 2, one for each character...

This is mainly because I cannot find suitable colors that dont clash with the background.

cheers
barefoot




I May Not Be Perfect but I Have A Big Heart ..

Khris

You can change game.speech_text_gui during the game.

Problem is, there's no way to implement that change for existing .Say lines.

The best way is to use an Extender funtion:
Code: ags
function MySay(this Character*, String text) {
  if (this == cindy_bones) game.speech_text_gui = 2;
  else game.speech_text_gui = 4;
  Display(text);
}

barefoot

Thanks Khris, I'll look into that solution..

barefoot
I May Not Be Perfect but I Have A Big Heart ..

SMF spam blocked by CleanTalk