This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| crpl:docs:getcreepercolors [2014/02/04 00:51] – created from incorrect namespace - crpl:GetCreeperColors Grayzzur | crpl:docs:getcreepercolors [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ~~DISCUSSION~~ | + | |
| <- [[crpl: | <- [[crpl: | ||
| ===== GetCreeperColors | ===== GetCreeperColors | ||
| Line 8: | Line 8: | ||
| === Description === | === Description === | ||
| - | Gets the current RGB color values for Creeper and Anti-Creeper, | + | Gets the current RGB color values for Creeper and Anti-Creeper, |
| - | + | ||
| - | **Note:** The values returned are floating-point numbers between 0 and 1. To obtain normal RGB color values between 1 and 255, multiply the returned values by 255 and use the integer portion. | + | |
| === Examples === | === Examples === | ||
| Warp notation | Warp notation | ||
| Line 17: | Line 14: | ||
| GetCreeperColors ->acB ->acG ->acR -> | GetCreeperColors ->acB ->acG ->acR -> | ||
| </ | </ | ||
| + | |||
| + | < | ||