• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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