HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Text Color and Variables

08-18-2004, 01:05 AM#1
Arim
First question is, how do I make game text, like quest updates or game messages, have color in them like in the campaign how a quest update would have yellow and grey print?
Second, when looking at premade heros, the tooltips for the spells have what appears to be bits of text surrounded by (< and >) that call up data that is in unit information like how much a spell will do or how long it will last. How do I do that, or what do I put inside those (<,>s) to get that effect?
08-19-2004, 03:24 PM#2
Kidtofu
For The Second Question the <and> Can Have 2 things put in it (correct me if im wrong) First The Raw Data Name For The Spell or Whatever Thing You Wanna do and then the other thing after the , is for the data field (ops Forget to say put it so it displays raw data) Raw Name. If i didn't help, sorry
08-19-2004, 05:28 PM#3
Anitarf
On your first question: there are special message actions specificaly made for quests, that display text in orange or grey by default. apart from that, I suppose you can get color into normal "game-text message" in the same way color is done on spell tooltips.
08-19-2004, 05:55 PM#4
Undead_Lives
if u want different colours, check out some bnet games or campaigns, and if u see a colour u like, write down the code, so u can use it.
08-19-2004, 06:12 PM#5
TheReaper
Ansewer to questin number 1 :
This will help you just fine just write |cgode goes here!text|r and all the colors you can get from this prog---> http://www.wc3sear.ch/index.php?p=Tools&ID=20&sid=, all the colors you want.
(rep is alweys good )
08-20-2004, 12:06 AM#6
Arim
Well thanks guys. I am using the display quest update command not just game message. Havent tried the colors yet but it sounds like what i need. I still dont know what to put in the <>s but I can just manually type in the data for the same effect.