Well, just do an owner check. Assuming you're not changing owners (Which would be logical, since if you change the owner the color would also change).
You would have to do a loop:
For each A from 1 to (Max_Players)
If - A = Owner of unit X
Then - Unit - Rescue (unit) X for player A and Change Color
Then - Break
Else -
That's pretty much all you need.
Edit: Wikicreole's wrapper is shit. Safe html from now on.
Is this possible? I can't seem to find a way to get their color after setting them to different colors.
@obliviron: Go
I need to get the unit color somehow, because they are all the same player. I guess i have to do it the hard way ._.
u need tint color?
@Fen1kz: Go
yap, for now i am using custom value to get its color