Fortress Forever

Fortress Forever (https://forums.fortress-forever.com/index.php)
-   Tips and Tutorials (https://forums.fortress-forever.com/forumdisplay.php?f=37)
-   -   Text color and scripting help (https://forums.fortress-forever.com/showthread.php?t=18815)

Dreadkillz 01-25-2009 07:50 PM

Text color and scripting help
 
How does one change the text color in a script? Also, is there a website to learn scripting in general for the source engine?

PartialSchism 01-25-2009 08:02 PM

Code:

^0 = ORANGE
^1 = BLUE
^2 = RED
^3 = YELLOW
^4 = GREEN
^5 = WHITE
^6 = BLACK
^7 = GREY
^8 = MAGENTA
^9 = CYAN
^ = terminates last color

so "^2Hi there!" would look like "Hi there!"

Dunno any good sites for help tho :-P

onE 01-25-2009 09:42 PM

Quote:

Originally Posted by PartialSchism (Post 422816)
Code:

^0 = ORANGE
^1 = BLUE
^2 = RED
^3 = YELLOW
^4 = GREEN
^5 = WHITE
^6 = BLACK
^7 = GREY
^8 = MAGENTA
^9 = CYAN
^ = terminates last color

so "^2Hi there!" would look like "Hi there!"

Dunno any good sites for help tho :-P

So if I wanted it to be "Hi There!", would it be "^2Hi ^^1There!", or would it just be 1 ^ after Hi?

MonoXideAtWork 01-25-2009 10:00 PM

just one. also


http://fortress-forever.com/wiki2/in...?title=Scripts

Dreadkillz 01-25-2009 10:09 PM

Thanks a lot :mrgreen:


All times are GMT. The time now is 01:35 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.