Okay the title is confusing I know but I'm trying to find out how I can convert something. I have a double variable that holds a maximum of 1, when it's above 1, it deletes an actor.
What I'm trying to do is, how would I..
Aha, I know a better way of showing you what I mean
Okay, say I wanted to make the "Opacity" code instead of using transp all the time, how would I make the 255 numbers of the opacity match up to the transp's maximum of 1?
For example if you do transp = 255; the darn thing will be SUPER transparent ... so if you were to make transp = opacity, then it would fail. So how would I get the percentage of "transp" using opacity?