HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Unit Tint Script?

05-31-2009, 05:43 PM#1
Medevil_Nuke
I've currently decided to undertake a challenge brought up to me by one of my fellow local modders to create a "special project".
So far its quite well underway, but for more on the value of ascetics I was wondering if there is any custom JASS script for changing the RBG tint of a selected precreated unit. Which I will probably define as (last created unit), and me being a heavily dependent GUI guy I'm a bit stumped...

So is it possible to change a select units RBG tint using code? If so I'd appreciate it.
Don't worry about the RBG values or any preceding creation code, I got that all down.
05-31-2009, 07:32 PM#2
Hans_Maulwurf
Trigger:
Animation - Change (Last created unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
?
05-31-2009, 07:44 PM#3
Zandose
Quote:
Originally Posted by Hans_Maulwurf
Trigger:
Animation - Change (Last created unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
?
I believe what Hans_Maulwurf is saying is that the three vertex colours are changed from percents to 255, which i believe is the RBG colour code. So change it to JASS or a GUI custom script, and you can use your RBG instead of percents.
05-31-2009, 11:10 PM#4
Medevil_Nuke
Doh!
Thanks guys.
I wouldn't have thought it to be under animations lol.