Cute text color trick.
Did you know you can color text using a variable?
You can. All you hahve to do is this:
say_stop("`&mycolorHello there.", ¤t_sprite);
Note that I included the ` just like you normally do when you color text. All you have to do is set &mycolor to a number from 0 to 9. That means you can't do Yellow, Hot Pink/Red or White this way.
What would you use it for? Well any time you need the same text in different colors. I can imagine some type of genaric NPC script or using it in a text-entry system. Or of course just a crazy-looking, random-color blinky-text-thing.
I'm sure there's more.
You can. All you hahve to do is this:
say_stop("`&mycolorHello there.", ¤t_sprite);
Note that I included the ` just like you normally do when you color text. All you have to do is set &mycolor to a number from 0 to 9. That means you can't do Yellow, Hot Pink/Red or White this way.
What would you use it for? Well any time you need the same text in different colors. I can imagine some type of genaric NPC script or using it in a text-entry system. Or of course just a crazy-looking, random-color blinky-text-thing.
I'm sure there's more.
Yeah, I discovered that a couple months ago. I think I used it for something, but I can't remember what. Oh, for a blackjack game, using variables to define the color/suit of the letters/cards.
Just like Columbus discovered the New World when the Vikings already did.