• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

tooltip armor/attack type {only the first line shows up on a colored tooltip}

Status
Not open for further replies.
Level 17
Joined
Aug 19, 2007
Messages
1,380
Hi, for my map, I want to make colored tooltips like this: "+50% damage to medium armored, -25% damage to heroes". I'm using JassGenNEWpack for the colors. However, when I look ingame only the first line is visible, the other lines won't show up.

I thought it may become because I use a + or a - after each , . When I tried it without colors like this: "+50% damage to medium armored, -25% damage to heroes" it also only showed the first line. Can someone help me out? Tnx
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Erm... this is the color code when you use it in World Editor:

|c0000ff00+50% damage to medium armored|r|n|c00ff0000-25% damage to heroes|r

Without enters, just copy/paste this and it will look like this:

+50% damage to medium armored
-25% damage to heroes

I think this doesn't look bad, but it doesn't use comma's, only enters ^^ ( |n = enter)
 
Status
Not open for further replies.
Top