personally, I think it would be better to have a basic to sumwhat advanced understanding of triggering and GUI before trying to learn JASS from the ground up, but up to you.
good luck! I don't really know JASS so I can't help..
This. Look through GUI actions first for everything you can do, then edit -> convert to custom text.
Best way to learn what you're doing.
can someone plz tell me what the color coding is I see White,Red,Blue,Light Green,Orange,Light Orange what do they all stand for?
Color coding is the art of coloring text in a wc3 style.
You can make a message pop up on the screen that's white by simply calling the function DisplayTextToPlayer(GetLocalPlayer(), 0, 0, "Message goes here!!"). That will display Message goes here!! on the screen in white.
If you however wanted it in red, you have to learn color codes.
The basic syntax for a color code is |cff + a hex code (RRGGBB) representing what color you want.
Hex codes are based on 0-255, or 0-FF in this case. If you want pure red, you want max red (FF) and 0 of the other two (G and B) you would do:
|cffff0000
The "ff" in |cff is supposed to represent how transparent the text is, but that doesn't work because WC3 developers are silly. BUt you HAVE to add it no matter what, and it doesnt matter if you do |cff or |c00, but people do tend to use |cff more often, as far as I can tell. ANd if Warcraft 3 in a new patch did start letting you use transparent text, any map using |c00 would suddenly break.
TL;DR? Use |cff. Not |c00.
Anyways, in our previous example, we want that message displayed in red.
Our new function to call is:
JASS:
call DisplayTextToPlayer(GetLocalPlayer(), 0, 0, "|cffff0000Message goes here!!")
This now shows Message goes here! in red.
Now, say you want to display two different colors. It is the exact same syntax, except you need to add |r between the two colors.
Say we want red (FF 00 00) and green (00 FF 00). We would use the following syntax:
|cffff0000 some text in red|r |cff00ff00some text in green|r
You should usually add an |r after ANY colored text you do, but it isnt strictly required (and if you dont use it, you can almost hack the warcraft 3 UI in some parts).
TL;DR? Add |r after every color code, even if it's single. Unless you want to do something with the game interface.
So, in our previous example:
JASS:
DisplayTextToPlayer(GetLocalPlayer(), 0, 0, "|cffff0000Message goes |r|cff00ff00here!!|r")
This makes everything red up to "here!!", which is turned green.
One final bit on hex codes:
000000 is black.
FFFFFF is white.
Codes are in RR GG BB.
FF0000 is red.
00FF00 is green.
0000FF is blue.
555555 is grayish.
You can use a color hex maker if you want, but it's good to know anyways.
One final note: capitalisation doesnt really matter in color codes. |CFFFFFFFF is just as valid as |cffffffff. At least for the hex code part, capitalisation does not matter.
In case I forgot to mention, hex codes go up to 15 for one digit, like our numbering system goes up to 9.
The order is: 0 1 2 3 4 5 6 7 8 9 A B C D E F.