I spent about an hour and half trying to pull out the red, green, and blue values of a given sector's tint and could NOT get it to work for me.
Here's what I learned:
The sector tint value from GetSectorTint() is a vector with three values, so I figured I should try to pull the red value out with GetVectorX(), but this always returns zero. So I cant get the color valuse with that, and there is no GetVectorR().
So after spending hours trying to get this to work, i came to this conclusion: wtf did they put this verb in for? Only use I can think for it is to compate a sector's current tint to another tint. But for what i'm trying to do, I need to get the actual RGB values (in some form) so i can add to them to get the fading effect i'm going for. Anybody know anything that could help me?
------------------
One day, after everybody else quits, I'll be the best.
Sith Mercenaries
^My site.
Here's what I learned:
The sector tint value from GetSectorTint() is a vector with three values, so I figured I should try to pull the red value out with GetVectorX(), but this always returns zero. So I cant get the color valuse with that, and there is no GetVectorR().
So after spending hours trying to get this to work, i came to this conclusion: wtf did they put this verb in for? Only use I can think for it is to compate a sector's current tint to another tint. But for what i'm trying to do, I need to get the actual RGB values (in some form) so i can add to them to get the fading effect i'm going for. Anybody know anything that could help me?
------------------
One day, after everybody else quits, I'll be the best.
Sith Mercenaries
^My site.