How do you make the tooltip color for a weapon change with its race. I'm trying to add the splash radius of the weapon onto the weapons tool tip and I want it to blend in with the normal weapon tooltip that displays damage and attack speed. I've found the styles that match but there is 3 different ones, one for each race. I want to make it so that if your race is Protoss, the tooltip color is blue like normal but if your Zerg its orange, Terran its green. Can anyone help me with this?
I believe the color differences are built into the tooltips, meaning, if a zerg neural parasites a probe and built a nexus / warpgate, the color of the protoss unit tooltips would still be blue, someone feel free to jump in and correct me if im wrong, but as far as color matching, if its a protoss weapon you're creating, make it blue etc. if its a weapon for all races and you want to dynamically assign a color, well, that gets tricky.
Well the built in tooltips change color with the race the player is regardless if its normal intended race. If you want to see for your self, amek a link, zealot, and marine in the map editor and load it up, you'll get a random race but the tool tips will be the same color
How do you make the tooltip color for a weapon change with its race. I'm trying to add the splash radius of the weapon onto the weapons tool tip and I want it to blend in with the normal weapon tooltip that displays damage and attack speed. I've found the styles that match but there is 3 different ones, one for each race. I want to make it so that if your race is Protoss, the tooltip color is blue like normal but if your Zerg its orange, Terran its green. Can anyone help me with this?
@DarkArchonLord: Go
I believe the color differences are built into the tooltips, meaning, if a zerg neural parasites a probe and built a nexus / warpgate, the color of the protoss unit tooltips would still be blue, someone feel free to jump in and correct me if im wrong, but as far as color matching, if its a protoss weapon you're creating, make it blue etc. if its a weapon for all races and you want to dynamically assign a color, well, that gets tricky.
@DarkShape80: Go
Well the built in tooltips change color with the race the player is regardless if its normal intended race. If you want to see for your self, amek a link, zealot, and marine in the map editor and load it up, you'll get a random race but the tool tips will be the same color
Please? Anyone?