HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Questions

07-11-2002, 12:41 PM#1
Guest
1. how do you get it to display in colors

2. help fix my flag carrier code

unit- a unit enters flag area <gen>
_________
conditions
________
(triggering unit) belongs to an enemy equal to true
____________
actions
___________
-create 1 flag carrier at flag area
-kill triggering unit (kills off the unit that turns into fc)
-cinematic minimap ping
-display "enemy has your flag"

how do i make it kill of any other flag carriers that the player owns? so they dont have 2, probably a condition trigger but what? Please Specify
07-11-2002, 01:03 PM#2
OrcishSpacesuit
Making the flag an item that can be picked up is much better IMHO, but if you really want to use new units for carriers, here's how to kill old carriers (BEFORE you create the new one):
Unit - Pick every unit in (Units of type flag carrier owned by (Owner of (Triggering unit)) an do Unit - Kill (Picked unit)
07-11-2002, 01:20 PM#3
Guest
thanks alot man =)
now how do you get text to display in colors?
07-11-2002, 06:16 PM#4
OrcishSpacesuit
Colors: Take a look in the unit editor, and go down to Tooltip and Extended Tooltip, and take a look there at how it changes colors for hotkeys and stuff. Change the numbers for different colors (the numbers are the amount of red blue and green, I believe). Just remember to have the |r after the text with the funky color.
07-11-2002, 11:34 PM#5
Guest
Question: How do I change text color?

Answer: put |c00 and then an HTML color code in front of a piece of text. For example, "|c00aa0000" in front of "This is red text!" would make it red. To

return the next to normal color put in a |r. So ""|c00aa0000This|r is red text!" would result in only the word "this" being red.

Q: What is the formula of color codes in WE?
A: Get the color picker here! ftp://replay:[email protected]%20Picker.exe
07-11-2002, 11:43 PM#6
Guest
Matrix Movie
http://www.wc3campaigns.com/forums/s...=&threadid=838