| Blockland Forums > Modification Help |
| Color Code X.X |
| (1/4) > >> |
| PNetwork2011:
I want to know TorqueScript's Color Code with thing like 0.0 , 0.8, etc. How do i use it? Example from a script: --- Code: ---colors[0] = "0.8 0.8 0.0 0.7"; --- End code --- |
| MegaScientifical:
Color is defined between 0 and 1. The closer to 1, the closer to the color defined. The last number is transparency, I believe. |
| Mr.Noßody:
It goes Red>Green>Blue>Transparency, right? |
| PNetwork2011:
one question thoguh |
| PNetwork2011:
--- Quote from: MegaScientifical on June 17, 2011, 02:54:12 PM ---Color is defined between 0 and 1. The closer to 1, the closer to the color defined. The last number is transparency, I believe. --- End quote --- But how do you Define the color |
| Navigation |
| Message Index |
| Next page |